Bootstrap project

This commit is contained in:
Bruno BELANYI 2024-08-23 21:15:26 +01:00
commit c4d81c4e81
12 changed files with 357 additions and 0 deletions

1
tests/meson.build Normal file
View file

@ -0,0 +1 @@
subdir('unit')

16
tests/unit/meson.build Normal file
View file

@ -0,0 +1,16 @@
gtest_dep = dependency(
'gtest',
main : true,
required : false,
)
dummy_test = executable(
'unit_test',
'unit_test.cc',
dependencies : [
gtest_dep,
interval_map_dep
],
)
test('unit test', dummy_test)

7
tests/unit/unit_test.cc Normal file
View file

@ -0,0 +1,7 @@
#include <gtest/gtest.h>
#include <interval-map/interval-map.hh>
TEST(misc, passing) {
ASSERT_EQ(1, 1);
}