mirror of
https://github.com/jorenchik/testing-spring-2024.git
synced 2026-02-04 06:42:02 +00:00
test: remove examples
This commit is contained in:
12
src/test.cpp
12
src/test.cpp
@@ -4,14 +4,14 @@
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
// TEST(TestSuiteName, testName) {...}
|
||||
TEST(ProgramTest, testFunction) {
|
||||
/* TEST(ProgramTest, testFunction) {
|
||||
EXPECT_EQ(functionToTest(4), 8);
|
||||
}
|
||||
} */
|
||||
|
||||
TEST(ProgramTest, testFunctionShouldFail) {
|
||||
/* TEST(ProgramTest, testFunctionShouldFail) {
|
||||
EXPECT_EQ(functionToTest(4), 12);
|
||||
}
|
||||
} */
|
||||
|
||||
TEST(PrepTest, testAddFunc) {
|
||||
/* TEST(PrepTest, testAddFunc) {
|
||||
EXPECT_EQ(add(4, 2), 6);
|
||||
}
|
||||
} */
|
||||
|
||||
Reference in New Issue
Block a user