uvg266/tests/tests_main.c
2013-09-24 16:34:49 +03:00

37 lines
411 B
C

#ifdef _MSC_VER
#define _CRT_SECURE_NO_WARNINGS
#endif
#include <stdio.h>
#include "seatest.h"
void test1(void)
{
assert_bit_set(0, 0x01);
assert_bit_set(2, 0x04);
}
void test2(void)
{
assert_bit_set(0, 0x00);
}
void fixture1(void)
{
test_fixture_start();
run_test(test1);
run_test(test2);
test_fixture_end();
}
void all_tests(void)
{
fixture1();
}
int main()
{
run_tests(all_tests);
}