Skip to content

Commit

Permalink
Bring back missing tmp_dc.cvs and rename it appropriately
Browse files Browse the repository at this point in the history
  • Loading branch information
ol-imorozko committed Jan 14, 2025
1 parent cdd22ed commit 5e9835e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/tests/all_csv_configs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,5 +131,5 @@ CSVConfig const kAnimalsBeverages = CreateCsvConfig("animals_beverages.csv", ','
CSVConfig const kTestDC = CreateCsvConfig("TestDC.csv", ',', true);
CSVConfig const kTestDC1 = CreateCsvConfig("TestDC1.csv", ',', true);
CSVConfig const kTestDC2 = CreateCsvConfig("TestDC2.csv", ',', true);
CSVConfig const kTmpDC = CreateCsvConfig("tmp_dc.csv", ',', true);
CSVConfig const kTestDC3 = CreateCsvConfig("TestDC3.csv", ',', true);
} // namespace tests
2 changes: 1 addition & 1 deletion src/tests/all_csv_configs.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,5 +110,5 @@ extern CSVConfig const kAnimalsBeverages;
extern CSVConfig const kTestDC;
extern CSVConfig const kTestDC1;
extern CSVConfig const kTestDC2;
extern CSVConfig const kTmpDC;
extern CSVConfig const kTestDC3;
} // namespace tests
2 changes: 1 addition & 1 deletion src/tests/test_dc_structures.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ TEST(TestOperatorString, Compare) {
}

TEST(Predicate, PredicateCreatesCorrectly) {
CSVParser parser{kTmpDC};
CSVParser parser{kTestDC3};
std::unique_ptr<model::ColumnLayoutTypedRelationData> table =
model::ColumnLayoutTypedRelationData::CreateFrom(parser, true);
std::vector<model::TypedColumnData> col_data = std::move(table->GetColumnData());
Expand Down
3 changes: 3 additions & 0 deletions test_input_data/TestDC3.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
A,B
1,2
1,10

0 comments on commit 5e9835e

Please sign in to comment.