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 "two.h"
ram54288 0:a7a43371b306 30 #include "three.h"
ram54288 0:a7a43371b306 31 #include <four.h>
ram54288 0:a7a43371b306 32 #include "funky.h"
ram54288 0:a7a43371b306 33 #include "stanky.h"
ram54288 0:a7a43371b306 34 #include <setjmp.h>
ram54288 0:a7a43371b306 35
ram54288 0:a7a43371b306 36 /*=======External Functions This Runner Calls=====*/
ram54288 0:a7a43371b306 37 extern void setUp(void);
ram54288 0:a7a43371b306 38 extern void tearDown(void);
ram54288 0:a7a43371b306 39 extern void test_TheFirstThingToTest(void);
ram54288 0:a7a43371b306 40 extern void test_TheSecondThingToTest(void);
ram54288 0:a7a43371b306 41 extern void test_TheThirdThingToTest(void);
ram54288 0:a7a43371b306 42 extern void test_TheFourthThingToTest(void);
ram54288 0:a7a43371b306 43
ram54288 0:a7a43371b306 44
ram54288 0:a7a43371b306 45 /*=======Suite Setup=====*/
ram54288 0:a7a43371b306 46 static int suite_setup(void)
ram54288 0:a7a43371b306 47 {
ram54288 0:a7a43371b306 48 a_yaml_setup();
ram54288 0:a7a43371b306 49 }
ram54288 0:a7a43371b306 50
ram54288 0:a7a43371b306 51 /*=======Test Reset Option=====*/
ram54288 0:a7a43371b306 52 void resetTest(void);
ram54288 0:a7a43371b306 53 void resetTest(void)
ram54288 0:a7a43371b306 54 {
ram54288 0:a7a43371b306 55 tearDown();
ram54288 0:a7a43371b306 56 setUp();
ram54288 0:a7a43371b306 57 }
ram54288 0:a7a43371b306 58
ram54288 0:a7a43371b306 59
ram54288 0:a7a43371b306 60 /*=======MAIN=====*/
ram54288 0:a7a43371b306 61 int main(void)
ram54288 0:a7a43371b306 62 {
ram54288 0:a7a43371b306 63 suite_setup();
ram54288 0:a7a43371b306 64 UnityBegin("testdata/testsample.c");
ram54288 0:a7a43371b306 65 RUN_TEST(test_TheFirstThingToTest, 21);
ram54288 0:a7a43371b306 66 RUN_TEST(test_TheSecondThingToTest, 43);
ram54288 0:a7a43371b306 67 RUN_TEST(test_TheThirdThingToTest, 53);
ram54288 0:a7a43371b306 68 RUN_TEST(test_TheFourthThingToTest, 58);
ram54288 0:a7a43371b306 69
ram54288 0:a7a43371b306 70 return (UnityEnd());
ram54288 0:a7a43371b306 71 }