fixing up the broken BendCalc

This commit is contained in:
2024-07-26 21:42:13 -07:00
parent 5ba3bc24d0
commit ac20038626
16 changed files with 397 additions and 114 deletions

16
tests/DataLoadTest.cpp Normal file
View File

@@ -0,0 +1,16 @@
#define DATA_LOAD_TEST_SOURCE DataLoadTest.cpp
#include "gtest/gtest.h"
#include "DataLoad.h"
TEST(DataLoadTest, LoadsDataFromFile) {
const std::string testFile = "test_data.csv"; // Ensure this file exists and has the correct format
DataLoad::loadDataFromCSV(testFile);
// Add assertions here to check if the data was loaded correctly
}
int main(int argc, char** argv) {
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}