Skip to content

Commit 0dbb092

Browse files
committed
WIP
1 parent da4de9f commit 0dbb092

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

tests/CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
set(
22
TEST_SOURCES test_main.cpp
3-
${PROJECT_SOURCE_DIR}/arrays/array.cpp
4-
${PROJECT_SOURCE_DIR}/problems/max_unique_split.cpp
5-
${PROJECT_SOURCE_DIR}/problems/longest_palindrome.cpp
63
)
74

85
add_executable(

tests/arrays_tests.cpp

Whitespace-only changes.

tests/test_main.cpp

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
//#include <gtest/gtest.h>
2-
//
3-
//// Main function for running the tests
4-
//int main(int argc, char **argv) {
5-
//
6-
//}
1+
#include <gtest/gtest.h>
2+
3+
// Main function for running the tests
4+
int main(int argc, char **argv) {
5+
::testing::InitGoogleTest(&argc, argv);
6+
return RUN_ALL_TESTS();
7+
}

0 commit comments

Comments
 (0)