Initial commit

This commit is contained in:
shrukan
2022-12-22 21:40:39 -08:00
commit 9f47776564
23 changed files with 11061 additions and 0 deletions

3
test/Sample_test.cpp Normal file
View File

@ -0,0 +1,3 @@
#include "doctest.h"
TEST_CASE("sample_test") { CHECK(1 == 1); }

2
test/TestMain.cpp Normal file
View File

@ -0,0 +1,2 @@
#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
#include "doctest.h"

11
test/meson.build Normal file
View 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)