FRDM K64F Metronome

Committer:
ram54288
Date:
Sun May 14 18:37:05 2017 +0000
Revision:
0:dbad57390bd1
Initial commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ram54288 0:dbad57390bd1 1 /* AUTOGENERATED FILE. DO NOT EDIT. */
ram54288 0:dbad57390bd1 2
ram54288 0:dbad57390bd1 3 /*=======Test Runner Used To Run Each Test Below=====*/
ram54288 0:dbad57390bd1 4 #define RUN_TEST(TestFunc, TestLineNum) \
ram54288 0:dbad57390bd1 5 { \
ram54288 0:dbad57390bd1 6 Unity.CurrentTestName = #TestFunc; \
ram54288 0:dbad57390bd1 7 Unity.CurrentTestLineNumber = TestLineNum; \
ram54288 0:dbad57390bd1 8 Unity.NumberOfTests++; \
ram54288 0:dbad57390bd1 9 if (TEST_PROTECT()) \
ram54288 0:dbad57390bd1 10 { \
ram54288 0:dbad57390bd1 11 setUp(); \
ram54288 0:dbad57390bd1 12 TestFunc(); \
ram54288 0:dbad57390bd1 13 } \
ram54288 0:dbad57390bd1 14 if (TEST_PROTECT() && !TEST_IS_IGNORED) \
ram54288 0:dbad57390bd1 15 { \
ram54288 0:dbad57390bd1 16 tearDown(); \
ram54288 0:dbad57390bd1 17 } \
ram54288 0:dbad57390bd1 18 UnityConcludeTest(); \
ram54288 0:dbad57390bd1 19 }
ram54288 0:dbad57390bd1 20
ram54288 0:dbad57390bd1 21 /*=======Automagically Detected Files To Include=====*/
ram54288 0:dbad57390bd1 22 #include "unity.h"
ram54288 0:dbad57390bd1 23 #include <setjmp.h>
ram54288 0:dbad57390bd1 24 #include <stdio.h>
ram54288 0:dbad57390bd1 25 #include "funky.h"
ram54288 0:dbad57390bd1 26 #include "stanky.h"
ram54288 0:dbad57390bd1 27 #include <setjmp.h>
ram54288 0:dbad57390bd1 28
ram54288 0:dbad57390bd1 29 /*=======External Functions This Runner Calls=====*/
ram54288 0:dbad57390bd1 30 extern void setUp(void);
ram54288 0:dbad57390bd1 31 extern void tearDown(void);
ram54288 0:dbad57390bd1 32 extern void test_TheFirstThingToTest(void);
ram54288 0:dbad57390bd1 33 extern void test_TheSecondThingToTest(void);
ram54288 0:dbad57390bd1 34 extern void test_TheThirdThingToTest(void);
ram54288 0:dbad57390bd1 35 extern void test_TheFourthThingToTest(void);
ram54288 0:dbad57390bd1 36
ram54288 0:dbad57390bd1 37
ram54288 0:dbad57390bd1 38 /*=======Test Reset Option=====*/
ram54288 0:dbad57390bd1 39 void resetTest(void);
ram54288 0:dbad57390bd1 40 void resetTest(void)
ram54288 0:dbad57390bd1 41 {
ram54288 0:dbad57390bd1 42 tearDown();
ram54288 0:dbad57390bd1 43 setUp();
ram54288 0:dbad57390bd1 44 }
ram54288 0:dbad57390bd1 45
ram54288 0:dbad57390bd1 46
ram54288 0:dbad57390bd1 47 /*=======MAIN=====*/
ram54288 0:dbad57390bd1 48 int main(void)
ram54288 0:dbad57390bd1 49 {
ram54288 0:dbad57390bd1 50 UnityBegin("testdata/testsample.c");
ram54288 0:dbad57390bd1 51 RUN_TEST(test_TheFirstThingToTest, 21);
ram54288 0:dbad57390bd1 52 RUN_TEST(test_TheSecondThingToTest, 43);
ram54288 0:dbad57390bd1 53 RUN_TEST(test_TheThirdThingToTest, 53);
ram54288 0:dbad57390bd1 54 RUN_TEST(test_TheFourthThingToTest, 58);
ram54288 0:dbad57390bd1 55
ram54288 0:dbad57390bd1 56 return (UnityEnd());
ram54288 0:dbad57390bd1 57 }