test: add google tests

This commit is contained in:
Kristofers Solo
2024-03-14 02:24:16 +02:00
parent 29f9e60a33
commit 6b7f41e41a
2 changed files with 37 additions and 1 deletions

10
src/test_validation.cc Normal file
View File

@@ -0,0 +1,10 @@
#include "gtest/gtest.h"
TEST(ExampleTest, Example) {
EXPECT_EQ(1, 1);
}
int main(int argc, char *argv[]) {
testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}