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 CEXCEPTION_T e; \ 1235375f98Sopenharmony_ci Try { \ 1335375f98Sopenharmony_ci setUp(); \ 1435375f98Sopenharmony_ci TestFunc(); \ 1535375f98Sopenharmony_ci } Catch(e) { TEST_ASSERT_EQUAL_HEX32_MESSAGE(CEXCEPTION_NONE, e, "Unhandled Exception!"); } \ 1635375f98Sopenharmony_ci } \ 1735375f98Sopenharmony_ci if (TEST_PROTECT() && !TEST_IS_IGNORED) \ 1835375f98Sopenharmony_ci { \ 1935375f98Sopenharmony_ci tearDown(); \ 2035375f98Sopenharmony_ci } \ 2135375f98Sopenharmony_ci UnityConcludeTest(); \ 2235375f98Sopenharmony_ci} 2335375f98Sopenharmony_ci 2435375f98Sopenharmony_ci/*=======Automagically Detected Files To Include=====*/ 2535375f98Sopenharmony_ci#include "unity.h" 2635375f98Sopenharmony_ci#include <setjmp.h> 2735375f98Sopenharmony_ci#include <stdio.h> 2835375f98Sopenharmony_ci#include "CException.h" 2935375f98Sopenharmony_ci#include "two.h" 3035375f98Sopenharmony_ci#include "three.h" 3135375f98Sopenharmony_ci#include <four.h> 3235375f98Sopenharmony_ci#include "funky.h" 3335375f98Sopenharmony_ci#include "stanky.h" 3435375f98Sopenharmony_ci#include <setjmp.h> 3535375f98Sopenharmony_ci 3635375f98Sopenharmony_ci/*=======External Functions This Runner Calls=====*/ 3735375f98Sopenharmony_ciextern void setUp(void); 3835375f98Sopenharmony_ciextern void tearDown(void); 3935375f98Sopenharmony_ciextern void test_TheFirstThingToTest(void); 4035375f98Sopenharmony_ciextern void test_TheSecondThingToTest(void); 4135375f98Sopenharmony_ciextern void test_TheThirdThingToTest(void); 4235375f98Sopenharmony_ciextern void test_TheFourthThingToTest(void); 4335375f98Sopenharmony_ci 4435375f98Sopenharmony_ci 4535375f98Sopenharmony_ci/*=======Suite Setup=====*/ 4635375f98Sopenharmony_cistatic int suite_setup(void) 4735375f98Sopenharmony_ci{ 4835375f98Sopenharmony_cia_yaml_setup(); 4935375f98Sopenharmony_ci} 5035375f98Sopenharmony_ci 5135375f98Sopenharmony_ci/*=======Test Reset Option=====*/ 5235375f98Sopenharmony_civoid resetTest(void); 5335375f98Sopenharmony_civoid resetTest(void) 5435375f98Sopenharmony_ci{ 5535375f98Sopenharmony_ci tearDown(); 5635375f98Sopenharmony_ci setUp(); 5735375f98Sopenharmony_ci} 5835375f98Sopenharmony_ci 5935375f98Sopenharmony_ci 6035375f98Sopenharmony_ci/*=======MAIN=====*/ 6135375f98Sopenharmony_ciint main(void) 6235375f98Sopenharmony_ci{ 6335375f98Sopenharmony_ci suite_setup(); 6435375f98Sopenharmony_ci UnityBegin("testdata/testsample.c"); 6535375f98Sopenharmony_ci RUN_TEST(test_TheFirstThingToTest, 21); 6635375f98Sopenharmony_ci RUN_TEST(test_TheSecondThingToTest, 43); 6735375f98Sopenharmony_ci RUN_TEST(test_TheThirdThingToTest, 53); 6835375f98Sopenharmony_ci RUN_TEST(test_TheFourthThingToTest, 58); 6935375f98Sopenharmony_ci 7035375f98Sopenharmony_ci return (UnityEnd()); 7135375f98Sopenharmony_ci} 72