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