test/test_template.hpp
// Below are test fixtures that will be executed once after SetUp() has
// been executed
Below are test fixtures that will be executed once after SetUp() has
been executed
Below are test fixtures that will be executed once after SetUp () has been executed
TEST_F(MyClassTest, someMethod)
{
  MyClass subject(someThingWeNeedInMultipleTests);
  EXPECT_EQ(subject.someMethod(), 1);
}
TEST_F ( MyClassTest , someMethod ) { MyClass subject ( someThingWeNeedInMultipleTests ) ; EXPECT_EQ ( subject . someMethod ( ) , 1 ) ; }
Below are test fixtures that will be executed once after SetUp() has
been executed
Below are test fixtures that will be executed once after SetUp () has been executed
// Notice we can use methods defined on test class