forked from omoultosEthTuDelft/OCTP
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
602f079
commit b55184e
Showing
2 changed files
with
49 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,35 @@ | ||
#include <gtest/gtest.h> | ||
#include <iostream> | ||
|
||
#define XSTR(x) STR(x) | ||
#define STR(x) #x | ||
|
||
class OctpTest : public testing::Test | ||
{ | ||
public: | ||
OctpTest() {} | ||
}; | ||
|
||
class TestEnvironment : public ::testing::Environment { | ||
public: | ||
virtual void SetUp() { | ||
std::cout << XSTR(LAMMPS_PATH) << std::endl; | ||
} | ||
}; | ||
|
||
class OctpTest : public testing::Test {}; | ||
|
||
TEST_F(OctpTest, DummyTest) { | ||
EXPECT_TRUE(true); | ||
} | ||
|
||
TEST_F(OctpTest, DummyTest2) { | ||
EXPECT_TRUE(true); | ||
} | ||
|
||
|
||
int main(int argc, char* argv[]) { | ||
::testing::InitGoogleTest(&argc, argv); | ||
// gtest takes ownership of the TestEnvironment ptr - we don't delete it. | ||
::testing::AddGlobalTestEnvironment(new TestEnvironment); | ||
return RUN_ALL_TESTS(); | ||
} |