135375f98Sopenharmony_ci/* AUTOGENERATED FILE. DO NOT EDIT. */ 235375f98Sopenharmony_ci 335375f98Sopenharmony_ci/*=======Test Runner Used To Run Each Test Below=====*/ 435375f98Sopenharmony_ci#define RUN_TEST(TestFunc, TestLineNum) \ 535375f98Sopenharmony_ci{ \ 635375f98Sopenharmony_ci Unity.CurrentTestName = #TestFunc; \ 735375f98Sopenharmony_ci Unity.CurrentTestLineNumber = TestLineNum; \ 835375f98Sopenharmony_ci Unity.NumberOfTests++; \ 935375f98Sopenharmony_ci if (TEST_PROTECT()) \ 1035375f98Sopenharmony_ci { \ 1135375f98Sopenharmony_ci setUp(); \ 1235375f98Sopenharmony_ci TestFunc(); \ 1335375f98Sopenharmony_ci } \ 1435375f98Sopenharmony_ci if (TEST_PROTECT() && !TEST_IS_IGNORED) \ 1535375f98Sopenharmony_ci { \ 1635375f98Sopenharmony_ci tearDown(); \ 1735375f98Sopenharmony_ci } \ 1835375f98Sopenharmony_ci UnityConcludeTest(); \ 1935375f98Sopenharmony_ci} 2035375f98Sopenharmony_ci 2135375f98Sopenharmony_ci/*=======Automagically Detected Files To Include=====*/ 2235375f98Sopenharmony_ci#include "unity.h" 2335375f98Sopenharmony_ci#include <setjmp.h> 2435375f98Sopenharmony_ci#include <stdio.h> 2535375f98Sopenharmony_ci#include "funky.h" 2635375f98Sopenharmony_ci#include "stanky.h" 2735375f98Sopenharmony_ci#include <setjmp.h> 2835375f98Sopenharmony_ci 2935375f98Sopenharmony_ci/*=======External Functions This Runner Calls=====*/ 3035375f98Sopenharmony_ciextern void setUp(void); 3135375f98Sopenharmony_ciextern void tearDown(void); 3235375f98Sopenharmony_ciextern void test_TheFirstThingToTest(void); 3335375f98Sopenharmony_ciextern void test_TheSecondThingToTest(void); 3435375f98Sopenharmony_ciextern void test_TheThirdThingToTest(void); 3535375f98Sopenharmony_ciextern void test_TheFourthThingToTest(void); 3635375f98Sopenharmony_ci 3735375f98Sopenharmony_ci 3835375f98Sopenharmony_ci/*=======Suite Setup=====*/ 3935375f98Sopenharmony_cistatic int suite_setup(void) 4035375f98Sopenharmony_ci{ 4135375f98Sopenharmony_cia_custom_setup(); 4235375f98Sopenharmony_ci} 4335375f98Sopenharmony_ci 4435375f98Sopenharmony_ci/*=======Suite Teardown=====*/ 4535375f98Sopenharmony_cistatic int suite_teardown(int num_failures) 4635375f98Sopenharmony_ci{ 4735375f98Sopenharmony_cia_custom_teardown(); 4835375f98Sopenharmony_ci} 4935375f98Sopenharmony_ci 5035375f98Sopenharmony_ci/*=======Test Reset Option=====*/ 5135375f98Sopenharmony_civoid resetTest(void); 5235375f98Sopenharmony_civoid resetTest(void) 5335375f98Sopenharmony_ci{ 5435375f98Sopenharmony_ci tearDown(); 5535375f98Sopenharmony_ci setUp(); 5635375f98Sopenharmony_ci} 5735375f98Sopenharmony_ci 5835375f98Sopenharmony_ci 5935375f98Sopenharmony_ci/*=======MAIN=====*/ 6035375f98Sopenharmony_ciint main(void) 6135375f98Sopenharmony_ci{ 6235375f98Sopenharmony_ci suite_setup(); 6335375f98Sopenharmony_ci UnityBegin("testdata/testsample.c"); 6435375f98Sopenharmony_ci RUN_TEST(test_TheFirstThingToTest, 21); 6535375f98Sopenharmony_ci RUN_TEST(test_TheSecondThingToTest, 43); 6635375f98Sopenharmony_ci RUN_TEST(test_TheThirdThingToTest, 53); 6735375f98Sopenharmony_ci RUN_TEST(test_TheFourthThingToTest, 58); 6835375f98Sopenharmony_ci 6935375f98Sopenharmony_ci return suite_teardown(UnityEnd()); 7035375f98Sopenharmony_ci} 71