Fix for unit test

This commit is contained in:
Elad Salomons
2018-09-03 13:52:37 +03:00
parent 1b23f91f72
commit c78aa9df99

View File

@@ -290,10 +290,10 @@ BOOST_FIXTURE_TEST_CASE(test_add_control, Fixture)
BOOST_REQUIRE(error == 0);
// add new controls
error = ENaddcontrol(ph, Cindex, EN_LOWLEVEL, Lindex, 1, Nindex, 110);
error = ENaddcontrol(ph, Cindex, EN_LOWLEVEL, 13, 1, 11, 110);
BOOST_REQUIRE(error == 0);
BOOST_REQUIRE(Cindex == 3);
error = ENaddcontrol(ph, Cindex, EN_HILEVEL, Lindex, 0, Nindex, 140);
error = ENaddcontrol(ph, Cindex, EN_HILEVEL, 13, 0, 11, 140);
BOOST_REQUIRE(error == 0);
BOOST_REQUIRE(Cindex == 4);