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

Function TEST_F

src/utilities/sql/Test/SqlFile_GTest.cpp:38–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36using namespace openstudio;
37
38TEST_F(SqlFileFixture, SummaryValues) {
39 // check values
40 ASSERT_TRUE(sqlFile.netSiteEnergy());
41 ASSERT_TRUE(sqlFile.totalSiteEnergy());
42 ASSERT_TRUE(sqlFile.netSourceEnergy());
43 ASSERT_TRUE(sqlFile.totalSourceEnergy());
44
45 EXPECT_NEAR(224.91, *(sqlFile.netSiteEnergy()), 2); // for 6.0, was 222.69
46 EXPECT_NEAR(224.91, *(sqlFile.totalSiteEnergy()), 2); // for 6.0, was 222.69
47 EXPECT_NEAR(570.38, *(sqlFile.netSourceEnergy()), 2); // for 6.0, was 564.41
48 EXPECT_NEAR(570.38, *(sqlFile.totalSourceEnergy()), 2); // for 6.0, was 564.41
49}
50
51TEST_F(SqlFileFixture, FuelTypes) {
52 // test all fuel types

Callers 1

SqlFile_GTest.cppFile · 0.70

Calls 15

tempDirFunction · 0.85
createVectorFunction · 0.85
toStandardVectorFunction · 0.85
regressionTestSqlFileFunction · 0.85
daysFromFirstReportMethod · 0.80
firstReportDateTimeMethod · 0.80
beginMethod · 0.80
totalDaysMethod · 0.80
standardHolidaysMethod · 0.80
resizeMethod · 0.80

Tested by

no test coverage detected