Bootstrap project
This commit is contained in:
commit
c4d81c4e81
12 changed files with 357 additions and 0 deletions
1
tests/meson.build
Normal file
1
tests/meson.build
Normal file
|
|
@ -0,0 +1 @@
|
|||
subdir('unit')
|
||||
16
tests/unit/meson.build
Normal file
16
tests/unit/meson.build
Normal 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
7
tests/unit/unit_test.cc
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#include <gtest/gtest.h>
|
||||
|
||||
#include <interval-map/interval-map.hh>
|
||||
|
||||
TEST(misc, passing) {
|
||||
ASSERT_EQ(1, 1);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue