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.
This commit is contained in:
@@ -10,9 +10,10 @@
|
||||
* Description:
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include "./test-base.h"
|
||||
|
||||
int main(void)
|
||||
{
|
||||
RUN_TEST_SUITE(test_lib);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user