Aryadev Chavali
93790fad88
Move all test code into one file.
2025-03-02 01:17:56 +00:00
Aryadev Chavali
191ef05401
Implement test for card->int
2025-02-24 23:52:21 +00:00
Aryadev Chavali
7d7987cdc2
Implement test for int->card
2025-02-24 23:38:59 +00:00
Aryadev Chavali
f4d98ad07d
Implement test for suit->int and int->suit being complete inverses
2025-02-24 23:38:46 +00:00
Aryadev Chavali
02b87cdc9c
Implement test for suit->int
2025-02-24 23:38:38 +00:00
Aryadev Chavali
ac8860e1d7
Implement test for rank->int and int->rank being complete inverses
2025-02-24 23:38:11 +00:00
Aryadev Chavali
7c7bbd3361
Implement test for rank->int
2025-02-24 23:38:03 +00:00
Aryadev Chavali
aa2fa54674
Implement test for int->rank
2025-02-24 23:37:24 +00:00
Aryadev Chavali
ee2234e9bb
Put dependencies for each test rather than on the suite.
2025-02-22 23:06:52 +00:00
Aryadev Chavali
62f92114ee
Add unit tests for model.int->suit
2025-02-21 14:24:29 +00:00
Aryadev Chavali
4bb9173a4a
Make empty unit test suite for model package
2025-02-21 14:20:34 +00:00
Aryadev Chavali
7c64d23b0a
Add unit tests for lib.functions.remove-at-indices
2025-02-21 14:20:34 +00:00
Aryadev Chavali
1edd618b42
Add unit tests for lib.functions.rev-map
2025-02-21 14:11:08 +00:00
Aryadev Chavali
dc6b2f701b
Add unit tests for lib.functions.split
2025-02-21 14:11:08 +00:00
Aryadev Chavali
e9dcba06bb
Add unit tests for lib.functions.take
2025-02-21 14:11:08 +00:00
Aryadev Chavali
4b4421c101
Add unit tests for lib.functions.range
2025-02-21 14:11:08 +00:00
Aryadev Chavali
53174000df
Add unit tests for lib.functions.parse-integer*
2025-02-21 14:11:08 +00:00
Aryadev Chavali
2538077638
Setup an empty unit test suite for lib.functions
...
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-21 14:11:08 +00:00
Aryadev Chavali
0f8b5185fd
Add unit tests for lib.macros.-<>
2025-02-21 13:59:59 +00:00
Aryadev Chavali
f908ed5952
Add unit tests for lib.macros.->>
2025-02-21 13:59:55 +00:00
Aryadev Chavali
dc1f3d8970
Create a unit test system
...
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.
2025-02-21 13:53:33 +00:00