Simulated product dispenser

Dependencies:   HTS221

Fork of mbed-cloud-workshop-connect-HTS221 by Jim Carver

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers testsample_param.c Source File

testsample_param.c

00001 /* AUTOGENERATED FILE. DO NOT EDIT. */
00002 
00003 /*=======Test Runner Used To Run Each Test Below=====*/
00004 #define RUN_TEST_NO_ARGS
00005 #define RUN_TEST(TestFunc, TestLineNum, ...) \
00006 { \
00007   Unity.CurrentTestName = #TestFunc "(" #__VA_ARGS__ ")"; \
00008   Unity.CurrentTestLineNumber = TestLineNum; \
00009   Unity.NumberOfTests++; \
00010   if (TEST_PROTECT()) \
00011   { \
00012       setUp(); \
00013       TestFunc(__VA_ARGS__); \
00014   } \
00015   if (TEST_PROTECT() && !TEST_IS_IGNORED) \
00016   { \
00017     tearDown(); \
00018   } \
00019   UnityConcludeTest(); \
00020 }
00021 
00022 /*=======Automagically Detected Files To Include=====*/
00023 #include "unity.h"
00024 #include <setjmp.h>
00025 #include <stdio.h>
00026 #include "funky.h"
00027 #include "stanky.h"
00028 #include <setjmp.h>
00029 
00030 /*=======External Functions This Runner Calls=====*/
00031 extern void setUp(void);
00032 extern void tearDown(void);
00033 extern void test_TheFirstThingToTest(void);
00034 extern void test_TheSecondThingToTest(void);
00035 extern void test_TheThirdThingToTest(void);
00036 extern void test_TheFourthThingToTest(void);
00037 
00038 
00039 /*=======Test Reset Option=====*/
00040 void resetTest(void);
00041 void resetTest(void)
00042 {
00043   tearDown();
00044   setUp();
00045 }
00046 
00047 
00048 /*=======MAIN=====*/
00049 int main(void)
00050 {
00051   UnityBegin("testdata/testsample.c");
00052   RUN_TEST(test_TheFirstThingToTest, 21, RUN_TEST_NO_ARGS);
00053   RUN_TEST(test_TheSecondThingToTest, 43, RUN_TEST_NO_ARGS);
00054   RUN_TEST(test_TheThirdThingToTest, 53, RUN_TEST_NO_ARGS);
00055   RUN_TEST(test_TheFourthThingToTest, 58, RUN_TEST_NO_ARGS);
00056 
00057   return (UnityEnd());
00058 }