Skip to content

Commit

Permalink
switch to shared_ptr, uncomment code, remove test returns
Browse files Browse the repository at this point in the history
  • Loading branch information
tyneises committed Sep 1, 2023
1 parent 79cec51 commit 12e8040
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions test/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ GTEST_API_ int main(int argc, char **argv) {
// run multiple test
// ::testing::GTEST_FLAG(filter) = "CMPvwattsv8Integration_cmod_pvwattsv8.DefaultNoFinancialModel_cmod_pvwattsv8:CMPvwattsv8Integration_cmod_pvwattsv8.NonAnnual";

::testing::GTEST_FLAG(filter) = "sco2_tests*";

int status = RUN_ALL_TESTS();

// sleep(10); //used for single test instruments leak detector on macOS
Expand Down
6 changes: 0 additions & 6 deletions test/ssc_test/cmod_sco2_csp_system_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,16 +108,10 @@ NAMESPACE_TEST(sco2_tests, SCO2Cycle, Parametrics)
ssc_data_set_number(data, "is_design_air_cooler", 1);
ssc_data_set_number(data, "eta_air_cooler_fan", 0.5);


CmodUnderTest sco2 = CmodUnderTest("sco2_csp_system", data);


int errors = sco2.RunModule();


//bool errors = false;
EXPECT_FALSE(errors);


if (!errors) {
EXPECT_NEAR_FRAC(sco2.GetOutput("T_htf_cold_des"), 529.6897, kErrorToleranceLo);
Expand Down

0 comments on commit 12e8040

Please sign in to comment.