This commit is contained in:
misterg
2017-08-01 14:36:29 -04:00
parent 7755e5d241
commit f63e2a14a2
13 changed files with 326 additions and 28 deletions

View File

@@ -31,7 +31,7 @@
#include "gtest/gtest.h"
#include "sample4.h"
namespace {
// Tests the Increment() method.
TEST(Counter, Increment) {
Counter c;
@@ -43,3 +43,4 @@ TEST(Counter, Increment) {
EXPECT_EQ(1, c.Increment());
EXPECT_EQ(2, c.Increment());
}
} // namespace