Sha256: db1bc8f44e9183b2a7909c0c0b8fac6b25b37d4aee0f47c9ab181500cf384ac9
Contents?: true
Size: 699 Bytes
Versions: 27
Compression:
Stored size: 699 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
27 entries across 14 versions & 1 rubygems