Initial commit
This commit is contained in:
3
test/Sample_test.cpp
Normal file
3
test/Sample_test.cpp
Normal file
@ -0,0 +1,3 @@
|
||||
#include "doctest.h"
|
||||
|
||||
TEST_CASE("sample_test") { CHECK(1 == 1); }
|
||||
2
test/TestMain.cpp
Normal file
2
test/TestMain.cpp
Normal file
@ -0,0 +1,2 @@
|
||||
#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
|
||||
#include "doctest.h"
|
||||
11
test/meson.build
Normal file
11
test/meson.build
Normal file
@ -0,0 +1,11 @@
|
||||
# Add test sources to this list
|
||||
test_sources = ['Sample_test.cpp']
|
||||
|
||||
test_sources += 'TestMain.cpp'
|
||||
|
||||
testexe = executable('TestMain', test_sources, dependencies : doctest_dep, include_directories : inc)
|
||||
|
||||
test_base_name = ''.join([meson.project_name(), 'Tests'])
|
||||
|
||||
# List test targets here, organized by suite
|
||||
test(test_base_name, testexe)
|
||||
Reference in New Issue
Block a user