Skip to content

Commit

Permalink
Update epw filenames and fix test.
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph-robertson committed Jun 5, 2024
1 parent 8497139 commit bbf02eb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ set(utilities_resources_src
utilities/Filetypes/TDV_2008_kBtu_CZ13.csv
utilities/Filetypes/TUN_Tunis.607150_IWEC.epw
utilities/Filetypes/leapday-test.epw
utilities/Filetypes/AMY2012-noleapday.epw
utilities/Filetypes/leapday-test-noleapday.epw
utilities/Filetypes/min.osw
utilities/Filetypes/full.osw
utilities/Filetypes/test_csv.csv
Expand Down
3 changes: 2 additions & 1 deletion src/utilities/filetypes/test/EpwFile_GTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ TEST(Filetypes, EpwFile_LeapTimeSeries_AMYNoLeapDay) {
// Tests for #5214

try {
path p = resourcesPath() / toPath("utilities/Filetypes/AMY2012-noleapday.epw");
path p = resourcesPath() / toPath("utilities/Filetypes/leapday-test-noleapday.epw");
EpwFile epwFile(p);
boost::optional<TimeSeries> _t;
ASSERT_NO_THROW(_t = epwFile.getTimeSeries("Dry Bulb Temperature"));
Expand Down Expand Up @@ -567,6 +567,7 @@ TEST(Filetypes, EpwFile_LeapTimeSeries_TMYLeapFebLeapDay) {
} catch (...) {
ASSERT_TRUE(true);
}
}

TEST(Filetypes, EpwFile_NonActualTimeSeries) {
try {
Expand Down

0 comments on commit bbf02eb

Please sign in to comment.