From c78aa9df996b6ddbc7944bcfac2fa44681f27ed8 Mon Sep 17 00:00:00 2001 From: Elad Salomons Date: Mon, 3 Sep 2018 13:52:37 +0300 Subject: [PATCH] Fix for unit test --- tests/test_toolkit.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_toolkit.cpp b/tests/test_toolkit.cpp index e3f1997..a8d6fd2 100644 --- a/tests/test_toolkit.cpp +++ b/tests/test_toolkit.cpp @@ -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);