Skip to content

Commit

Permalink
Modifed API test
Browse files Browse the repository at this point in the history
  • Loading branch information
bemcdonnell committed Jun 9, 2023
1 parent bfcac6d commit f397082
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/solver/test_toolkit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,9 @@ BOOST_FIXTURE_TEST_CASE(sim_started_check, FixtureBeforeStep) {
//Node
error = swmm_setNodeParam(0, SM_INVERTEL, 1);
BOOST_CHECK_EQUAL(error, ERR_TKAPI_SIM_NRUNNING);

//Added an exception
error = swmm_setNodeParam(0, SM_INITDEPTH, 1);
BOOST_CHECK_EQUAL(error, ERR_NONE);

//Link
error = swmm_setLinkParam(0, SM_OFFSET1, 1);
Expand Down

0 comments on commit f397082

Please sign in to comment.