diff --git a/tests/simple_test/CMakeLists.txt b/tests/simple_test/CMakeLists.txt new file mode 100644 index 0000000..228e537 --- /dev/null +++ b/tests/simple_test/CMakeLists.txt @@ -0,0 +1,19 @@ + +# TEST_RUNNER +add_executable(simple_test + simple_test.cpp +) + +target_link_libraries(simple_test + ${CPPUTEST_LDFLAGS} +) + + +# TEST_DIRS + +# INCLUDE_DIRS + +# Build unit tests and link with other sources. + +# Run the tests once build finished. + diff --git a/tests/simple_test/simple_test.cpp b/tests/simple_test/simple_test.cpp new file mode 100644 index 0000000..f6b4cc5 --- /dev/null +++ b/tests/simple_test/simple_test.cpp @@ -0,0 +1,27 @@ +#include +#include "CppUTest/TestHarness.h" + +/* +extern C +{ +#include "simple.h" +} +*/ + + +TEST_GROUP(simple_test) +{ + void setup() + { + + } + void teardown() + { + + } +}; + +TEST(simple_test, passing_test) +{ + CHECK_TRUE(1); +}