add gtest, temp disable swig

(cherry picked from commit 4008d163d77f503e6acbd7ddc1d87ac6d479c897)
This commit is contained in:
Martina Rivizzigno
2019-10-28 11:04:38 +01:00
committed by Mathieu Bresciani
parent 9b4b24ee71
commit fcea13eef8
4 changed files with 41 additions and 12 deletions
+7
View File
@@ -0,0 +1,7 @@
#include <gtest/gtest.h>
int main(int argc, char **argv) {
testing::InitGoogleTest(&argc, argv);
std::cout << "init test \n";
return RUN_ALL_TESTS();
}
+7
View File
@@ -0,0 +1,7 @@
#include "gtest/gtest.h"
TEST(test_example, sample_test)
{
printf("blabla \n" );
EXPECT_EQ(1, 1);
}