fixing up the broken BendCalc
This commit is contained in:
16
tests/DataLoadTest.cpp
Normal file
16
tests/DataLoadTest.cpp
Normal 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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user