#ifdef TEST #include "unity.h" #include "helloWorld.h" extern uint8_t Jill; extern uint8_t Jung; extern uint8_t Jukk; void setUp(void) { Jill = 0x00; Jung = 0xFF; Jukk = 0x00; } void tearDown(void) { } void test_math_do_bit_man_0(void) { int8_t result; result = do_bit_man( 15 ); TEST_ASSERT_EQUAL_INT8( -1, result ); TEST_ASSERT_EQUAL_INT8( 0x00, Jill ); TEST_ASSERT_EQUAL_INT8( 0xFF, Jung ); TEST_ASSERT_EQUAL_INT8( 0x00, Jukk ); } #endif // TEST