aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2025-07-10OverhaulmasterAryadev Chavali
Loads of changes, some which I wasn't sure what I was on when doing them
2025-03-02Move all test code into one file.Aryadev Chavali
2025-02-24Implement test for card->intAryadev Chavali
2025-02-24Implement test for int->cardAryadev Chavali
2025-02-24Implement test for suit->int and int->suit being complete inversesAryadev Chavali
2025-02-24Implement test for suit->intAryadev Chavali
2025-02-24Implement test for rank->int and int->rank being complete inversesAryadev Chavali
2025-02-24Implement test for rank->intAryadev Chavali
2025-02-24Implement test for int->rankAryadev Chavali
2025-02-22Put dependencies for each test rather than on the suite.Aryadev Chavali
2025-02-21Add unit tests for model.int->suitAryadev Chavali
2025-02-21Make empty unit test suite for model packageAryadev Chavali
2025-02-21Add unit tests for lib.functions.remove-at-indicesAryadev Chavali
2025-02-21Add unit tests for lib.functions.rev-mapAryadev Chavali
2025-02-21Add unit tests for lib.functions.splitAryadev Chavali
2025-02-21Add unit tests for lib.functions.takeAryadev Chavali
2025-02-21Add unit tests for lib.functions.rangeAryadev Chavali
2025-02-21Add unit tests for lib.functions.parse-integer*Aryadev Chavali
2025-02-21Setup an empty unit test suite for lib.functionsAryadev Chavali
I've added a dependency so if lib.macros isn't working, we can skip all the tests in lib.functions. Therefore we can use lib.macros in the test code.
2025-02-21Add unit tests for lib.macros.-<>Aryadev Chavali
2025-02-21Add unit tests for lib.macros.->>Aryadev Chavali
2025-02-21Create a unit test systemAryadev Chavali
Setup cantedraw/tests with a test-system record, as well as linking it back to cantedraw so we can run test-system on cantedraw and run the tests. Using parachute, we can setup a suite of unit tests for each package. For each package in src/ or lib/ we'll write a separate unit test suite with tests for all the public exposing functionality. I've setup a main suite in cantedraw/tests/main which will depend on each of the unit test suites so we can run the tests all at once. Currently we have one test for the --> macro.