MCPcopy Create free account
hub / github.com/NatLabRockies/OpenStudio / TEST_F

Function TEST_F

src/model/test/WeatherFile_GTest.cpp:21–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19using std::string;
20
21TEST_F(ModelFixture, WeatherFile) {
22 Model model;
23 EXPECT_FALSE(model.getOptionalUniqueModelObject<WeatherFile>());
24 auto weatherFile = model.getUniqueModelObject<WeatherFile>();
25 EXPECT_TRUE(model.getOptionalUniqueModelObject<WeatherFile>());
26 EXPECT_FALSE(weatherFile.startDateActualYear());
27 EXPECT_FALSE(weatherFile.startDayOfWeek());
28}
29
30TEST_F(ModelFixture, WeatherFile_assign_TMY) {
31

Callers

nothing calls this directly

Calls 8

isActualMethod · 0.80
startDateActualYearMethod · 0.45
startDayOfWeekMethod · 0.45
calendarYearMethod · 0.45
assumedYearMethod · 0.45
weatherFileMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected