From bba9ddc04a881faf28588f34c9db66028d9f9c66 Mon Sep 17 00:00:00 2001 From: Jorens Shtekels Date: Tue, 12 Mar 2024 22:43:28 +0200 Subject: [PATCH] feat: simple test example --- src/test.cpp | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/src/test.cpp b/src/test.cpp index 49ef7ca..279a50c 100644 --- a/src/test.cpp +++ b/src/test.cpp @@ -1,17 +1,5 @@ -#include "lib.hh" -#include "prep/prep.hh" - #include -// TEST(TestSuiteName, testName) {...} -/* TEST(ProgramTest, testFunction) { - EXPECT_EQ(functionToTest(4), 8); -} */ - -/* TEST(ProgramTest, testFunctionShouldFail) { - EXPECT_EQ(functionToTest(4), 12); -} */ - -/* TEST(PrepTest, testAddFunc) { - EXPECT_EQ(add(4, 2), 6); -} */ +TEST(ProgramTest, testFunction) { + EXPECT_EQ(8, 8); +}