22 lines
309 B
C++
22 lines
309 B
C++
#include <iostream>
|
|
#include "gtest/gtest.h"
|
|
|
|
using namespace std;
|
|
|
|
class GTestTest : public testing::Test
|
|
{
|
|
protected:
|
|
};
|
|
|
|
TEST_F(GTestTest, first_test)
|
|
{
|
|
EXPECT_EQ(4, 4);
|
|
EXPECT_EQ(3, 4);
|
|
}
|
|
|
|
int main(int argc, char * argv[])
|
|
{
|
|
testing::InitGoogleTest(&argc, argv);
|
|
return RUN_ALL_TESTS();
|
|
}
|