File tree Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Original file line number Diff line number Diff line change 1
- # Tests CMakeLists.txt
2
-
3
1
# Find GTest
4
2
find_package (GTest )
5
3
@@ -22,7 +20,7 @@ set(TEST_SOURCES
22
20
# test_portfolio.cpp
23
21
24
22
# Models tests
25
- # test_black_scholes.cpp
23
+ test_black_scholes.cpp
26
24
# test_greeks.cpp
27
25
# test_implied_volatility.cpp
28
26
@@ -45,18 +43,6 @@ set(TEST_SOURCES
45
43
# test_time_utils.cpp
46
44
)
47
45
48
- # Create a placeholder test file if no tests are defined yet
49
- if (NOT TEST_SOURCES )
50
- file (WRITE ${CMAKE_CURRENT_BINARY_DIR} /placeholder_test.cpp "
51
- #include <gtest/gtest.h>
52
-
53
- TEST(PlaceholderTest, AlwaysPass) {
54
- EXPECT_TRUE(true);
55
- }
56
- " )
57
- set (TEST_SOURCES ${CMAKE_CURRENT_BINARY_DIR} /placeholder_test.cpp )
58
- endif ()
59
-
60
46
# Add test executable
61
47
add_executable (thales_tests ${TEST_SOURCES} )
62
48
You can’t perform that action at this time.
0 commit comments