Commit Graph

5 Commits

Author SHA1 Message Date
Aryadev Chavali
a9f81992ab Update copyright notices and top level licenses 2024-06-25 00:48:43 +01:00
Aryadev Chavali
33ec19566a Started unit testing darr.h 2024-04-28 23:32:01 +05:30
Aryadev Chavali
15ed8e32c2 test_lib -> test_lib_base and implement remaining tests for base
Also refactored tests to new byteswap method
2024-04-28 22:33:35 +05:30
Aryadev Chavali
cf6aa96539 Wrote tests for lib/base.h's convert_bytes_to_* functions
Just runs a sample of suitably byte arrays with an expected set of
functions.  The samples are in little endian format and the outputs
are what we expect them to be.  This should run regardless of the
endian of your machine.
2024-04-28 17:35:46 +05:30
Aryadev Chavali
f725c2a668 Started developing a unit test module
Folder per module in test/.  Header only tests with one actual main
file to implement a program that runs them.

Makefile runs the test and provides some eye candy to show if the test
succeeded or failed.  The tests, on the other hand, will show success
or failure for each of them.
2024-04-28 15:33:47 +05:30