A metronome using the FRDM K64F board

Committer:
ram54288
Date:
Sun May 14 18:40:18 2017 +0000
Revision:
0:a7a43371b306
Initial commit

Who changed what in which revision?

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