From 30a3fcb4b981d0a776123da028fe1f314bbd321f Mon Sep 17 00:00:00 2001 From: Lew Rossman Date: Wed, 26 Jun 2024 11:47:35 -0400 Subject: [PATCH] debug test_pda.cpp --- tests/test_pda.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_pda.cpp b/tests/test_pda.cpp index 6091def7..7e951c0d 100644 --- a/tests/test_pda.cpp +++ b/tests/test_pda.cpp @@ -79,6 +79,9 @@ 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);