void main(void) { int temp; EnableInterrupts; DDRB = 0xFF; dostuff_init(); for(;;) { //temp = testfcn(1, 3, 32); temp = testfcn(1); //temp = dostuff(3, 4); if(temp > 3) { PORTB = temp; } } for(;;) { _FEED_COP(); /* feeds the dog */ } /* loop forever */ }
TEST(Nothing, ideal) { EXPECT_EQ(true, testfcn()); EXPECT_FALSE(!(testfcn())); }