Sha256: 99eba17303f1f266fae61159409f9872f70f7af882ea62ee343cde4346c6778e
Contents?: true
Size: 771 Bytes
Versions: 2
Compression:
Stored size: 771 Bytes
Contents
/* ========================================================================= Ceedling - Test-Centered Build System for C ThrowTheSwitch.org Copyright (c) 2010-24 Mike Karlesky, Mark VanderVoord, & Greg Williams SPDX-License-Identifier: MIT ========================================================================= */ #ifndef C_TEST_FRAMEWORK_H_ #define C_TEST_FRAMEWORK_H_ #include <assert.h> #include <stdio.h> #include <string.h> /* Test Framework :-) */ void setup(); #define TEST_F(SUITE, NAME) void NAME() #define RUN_TEST(SUITE, TESTNAME) printf(" Running %s.%s: \n", #SUITE, #TESTNAME); setup(); TESTNAME(); printf(" SUCCESS\n"); #define ASSERT_EQ(A, B) assert((A) == (B)) #define ASSERT_TRUE(A) assert((A)) #endif /* C_TEST_FRAMEWORK_H_ */
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ceedling-1.0.1 | plugins/fff/vendor/fff/test/c_test_framework.h |
ceedling-1.0.0 | plugins/fff/vendor/fff/test/c_test_framework.h |