uvg266/tests/tests_main.c

37 lines
411 B
C
Raw Normal View History

2013-09-20 14:06:53 +00:00
#ifdef _MSC_VER
#define _CRT_SECURE_NO_WARNINGS
#endif
#include <stdio.h>
2013-09-20 14:06:53 +00:00
#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()
{
2013-09-20 14:06:53 +00:00
run_tests(all_tests);
}