Sha256: 7caaedcdc83ec266de99e8c2fc3b2bd5bc638e1eb1e0b5fe569a23f2e9ecd98d
Contents?: true
Size: 735 Bytes
Versions: 54
Compression:
Stored size: 735 Bytes
Contents
#include "unity.h" #include "Types.h" #include "Executor.h" #include "MockModel.h" #include "MockUsartConductor.h" #include "MockAdcConductor.h" #include "MockTimerConductor.h" #include "MockIntrinsicsWrapper.h" void setUp(void) { } void tearDown(void) { } void testInitShouldCallInitOfAllConductorsAndTheModel(void) { Model_Init_Expect(); UsartConductor_Init_Expect(); AdcConductor_Init_Expect(); TimerConductor_Init_Expect(); Interrupt_Enable_Expect(); Executor_Init(); } void testRunShouldCallRunForEachConductorAndReturnTrueAlways(void) { UsartConductor_Run_Expect(); TimerConductor_Run_Expect(); AdcConductor_Run_Expect(); TEST_ASSERT_EQUAL(TRUE, Executor_Run()); }
Version data entries
54 entries across 39 versions & 1 rubygems