Sha256: 6ca677ad79d59cd09b8e3a4f7962df4b668099c788572d8b688afae43dbd4c08
Contents?: true
Size: 814 Bytes
Versions: 26
Compression:
Stored size: 814 Bytes
Contents
// This is just a sample test file to be used to test the generator script #ifndef TEST_SAMPLE_H #define TEST_SAMPLE_H #include <setjmp.h> #include "unity.h" #include "funky.h" #include "stanky.h" void setUp(void) { CustomSetupStuff(); } void tearDown(void) { CustomTeardownStuff } //Yup, nice comment void test_TheFirstThingToTest(void) { TEST_ASSERT(1); TEST_ASSERT_TRUE(1); } /* void test_ShouldBeIgnored(void) { DoesStuff(); } */ //void test_ShouldAlsoNotBeTested(void) //{ // Call_An_Expect(); // // CallAFunction(); // test_CallAFunctionThatLooksLikeATest(); //} void test_TheSecondThingToTest(void) { Call_An_Expect(); CallAFunction(); test_CallAFunctionThatLooksLikeATest(); } #endif //TEST_SAMPLE_H
Version data entries
26 entries across 14 versions & 1 rubygems