Fixes for PDA

This commit is contained in:
Lew Rossman
2024-06-26 17:50:24 -04:00
parent 30a3fcb4b9
commit 68b73a14f1
3 changed files with 31 additions and 23 deletions

View File

@@ -79,9 +79,6 @@ BOOST_AUTO_TEST_CASE(test_pda_model)
error = EN_getnodeindex(ph, (char *)"21", &index);
BOOST_REQUIRE(error == 0);
error = EN_getnodevalue(ph, index, EN_DEMANDDEFICIT, &reduction);
printf("\nreduction = %f", reduction);
BOOST_REQUIRE(error == 0);
BOOST_REQUIRE(abs(reduction - 413.67) < 0.01);