add the smallest test
This commit is contained in:
parent
21f887bcd8
commit
81fc9ad9e7
|
@ -23,5 +23,12 @@ set(CMAKE_CXX_EXTENSIONS ON)
|
||||||
add_executable(teller teller.cc ext/lpm.c)
|
add_executable(teller teller.cc ext/lpm.c)
|
||||||
target_link_libraries(teller -lpcaudio -lpthread)
|
target_link_libraries(teller -lpcaudio -lpthread)
|
||||||
|
|
||||||
#enable_testing()
|
add_executable(testrunner testrunner.cc ext/lpm.c )
|
||||||
#add_test(testname testrunner)
|
target_link_libraries(testrunner -lpcaudio)
|
||||||
|
|
||||||
|
enable_testing()
|
||||||
|
add_test(testname testrunner)
|
||||||
|
|
||||||
|
|
||||||
|
enable_testing()
|
||||||
|
add_test(testname testrunner)
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,10 @@
|
||||||
|
#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
|
||||||
|
#include "ext/doctest.h"
|
||||||
|
#include "ext/lpm.h"
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
|
TEST_CASE("basic test") {
|
||||||
|
CHECK(1==1);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue