aboutsummaryrefslogtreecommitdiff
path: root/src/test
AgeCommit message (Collapse)AuthorLines
2019-01-27Reorganise repoTom Harley-2898/+0
All solvitaire content has been shoved into a subdirectory to tidy up the root of the project. This also means solvitaire is treated similarly to other dependencies of the project, and allows other dependencies to be added easily. There's also a lot of other work done here, such as usign a thread pool library to manage the running of the voters.
2018-09-29Correct legal moves for found base & remove wrapsthecharlesblake-4/+4
2018-08-04Add two-deck presets & edit mv order to make workCharlie Blake-26/+56
2018-07-24Fix canfield to pass all unit testsCharlie Blake-27/+35
2018-07-23Small bug fixes inc found. base card & whole pilesCharlie Blake-2/+3
2018-07-19Add Canfield unit testsCharlie Blake-0/+112
2018-07-19Add canfield unit testsCharlie Blake-21/+25
2018-07-19Update rules so new schema works w/ existing gamesCharlie Blake-22/+25
2018-07-18Add accordion move makingCharlie Blake-2/+2
2018-07-14Add random gen and state print for accordionCharlie Blake-12/+4
2018-07-14Create accordion integration testsCharlie Blake-0/+48
2018-07-12Gaps / sequence implementationCharlie Blake-8/+12
2018-07-10Add deal parser json and fix bugsCharlie Blake-4/+4
2018-07-10Add Gaps integration testsCharlie Blake-0/+56
2018-07-06Refactor k-plus impl to simplify and fix deal1 bugCharlie Blake-47/+101
2018-07-06Refactored game rules JSONCharlie Blake-382/+5
2018-07-05Fix unit test compile bugCharlie Blake-1/+2
2018-07-03Fix legal move bugsCharlie Blake-1/+4
2018-07-03Tidy up stock rep and amend broken unit testsCharlie Blake-2/+4
2018-07-03Fix klondike bugsCharlie Blake-8/+25
2018-06-29Fix built group reveal bugCharlie Blake-2/+0
2018-06-29Fix bugs + correct built pile kings. Cell + foundsCharlie Blake-37/+156
2018-06-28Implement to pass unit testsCharlie Blake-57/+35
2018-06-26Add kplus unit testsCharlie Blake-1/+346
2018-06-26Add klondike unit testsCharlie Blake-0/+64
2018-06-26Finished klondike correct implCharlie Blake-94/+112
2018-06-25Add test to make sure cache encodes face upCharlie Blake-0/+36
2018-06-25Add card face down unit testsCharlie Blake-32/+305
2018-06-22Change move order generationCharlie Blake-2/+1
2018-06-19Reduce memory taken up by dfs datastructuresCharlie Blake-7/+9
2018-06-15Fixed test bugCharlie Blake-2/+2
2018-06-12Add lru cache with elems limitCharlie Blake-3/+3
2018-06-11Speedup build and add lru cacheCharlie Blake-4/+4
2018-06-10Finish refactoring game state classCharlie Blake-6/+6
2018-06-08Refactor moves logicCharlie Blake-99/+100
2018-06-08Fix built move bug and add unit testsCharlie Blake-63/+326
2018-06-08Refactor legal moves gen and moves logicCharlie Blake-68/+69
2018-04-06Fix build to work on lab clientsthecharlesblake-5/+5
2018-04-04Add versions of klondikethecharlesblake-0/+19
2018-04-04Add legal move gen tests and refactorthecharlesblake-24/+342
2018-04-04Add pile teststhecharlesblake-0/+87
2018-04-04Add card teststhecharlesblake-0/+92
2018-04-04Add rules parsing teststhecharlesblake-17/+508
2018-04-04Add deal parser teststhecharlesblake-0/+31
2018-03-21Update spider teststhecharlesblake-12/+12
2018-02-23Remove card symmetry from teststhecharlesblake-69/+0
2018-02-22Remove optimisation testing from c++ codethecharlesblake-57/+0
2018-02-14Add multiple runs test for foundations dominancethecharlesblake-0/+57
2018-02-14Add foundations dominance testingthecharlesblake-0/+65
2018-02-01Update tests to use new reduced game statethecharlesblake-3/+6
2018-01-30Update tests to use new game_state constructorthecharlesblake-51/+41
2018-01-25Refactor game_state & cache to remove static hackthecharlesblake-28/+16
2018-01-18Add unit tests for global cache and update CMakethecharlesblake-177/+172
2018-01-12Add unit tests for global cachethecharlesblake-0/+176
2018-01-09Add unit tests for spiderthecharlesblake-0/+81
2018-01-08Add unit tests for alpha starthecharlesblake-0/+56
2018-01-05Add unit tests for somersetthecharlesblake-0/+60
2018-01-05Add unit tests for canfieldthecharlesblake-0/+64
2018-01-04Add unit tests for flower gardenthecharlesblake-23/+23
2018-01-04Add fortunes favor to benchmark scriptthecharlesblake-0/+60
2018-01-04Add unit tests for fortunes favorthecharlesblake-22/+26
2018-01-04Add json rules for fortunes favorthecharlesblake-0/+56
2018-01-03Refactor io dir structurethecharlesblake-2/+2
2018-01-03Refactor sol_rules into seperate parser classthecharlesblake-2/+3
2018-01-03Rename util to json_helperthecharlesblake-2/+2
2018-01-03Major refactor, putting pile logic into game_statethecharlesblake-2/+2
Much of the logic that was in the pile class was beginning to seem out of place. A lot of the rules have fairly arbitrary interactons *between* piles, which weren't best represented in the pile classes themselves, which were getting unweildy and inefficient. Hence, much of this logic has been moved to the game state class.
2018-01-02Add unit tests for bakers dozenthecharlesblake-20/+20
2018-01-02Add json rules for bakers dozenthecharlesblake-0/+56
2017-12-31Fix simple black hole test example bugthecharlesblake-4/+4
2017-12-31Update simple free cell tests to make workthecharlesblake-14/+18
2017-12-27Added fc tests - currently intract.thecharlesblake-0/+56
2017-12-27All basic bh tests completethecharlesblake-0/+64
2017-12-27All basic sp tests completethecharlesblake-4/+38
2017-12-27First sp test workingthecharlesblake-4/+29
2017-12-26Add basic outline for spanish patience testingthecharlesblake-19/+36
2017-10-13Add basic travis filethecharlesblake-10/+0
2017-10-13Add GTest library to build and basic unit teststhecharlesblake-0/+29