From 81fe83601b7c2628573bcc06662b9677cd76c3d2 Mon Sep 17 00:00:00 2001 From: Elena Mamontova Date: Fri, 9 Sep 2016 14:52:37 +0300 Subject: [PATCH] Ticket 37. The true parameter changed to false in ensure_equals() function for the equal, expensive and cheper check in the testobject::text<10>() function. --- tests/test_tariff.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_tariff.cpp b/tests/test_tariff.cpp index eb3a764f..90c91d31 100644 --- a/tests/test_tariff.cpp +++ b/tests/test_tariff.cpp @@ -440,16 +440,16 @@ namespace tut td.tariffConf.fee = 50; TARIFF_IMPL cheaper(td); - ensure_equals("Prohibit cheaper", !tariff.TariffChangeIsAllowed(cheaper).empty(), true); + ensure_equals("Prohibit cheaper", tariff.TariffChangeIsAllowed(cheaper).empty(), false); td.tariffConf.fee = 100; TARIFF_IMPL equal(td); - ensure_equals("Prohibit equal", !tariff.TariffChangeIsAllowed(equal).empty(), true); + ensure_equals("Prohibit equal", tariff.TariffChangeIsAllowed(equal).empty(), false); td.tariffConf.fee = 150; TARIFF_IMPL expensive(td); - ensure_equals("Prohibit expensive", !tariff.TariffChangeIsAllowed(expensive).empty(), true); + ensure_equals("Prohibit expensive", tariff.TariffChangeIsAllowed(expensive).empty(), false); } } -- 2.44.2