From d30ba9e41fa70e8f709f2d89cfef7f342a9fd4e5 Mon Sep 17 00:00:00 2001 From: Elena Mamontova Date: Fri, 9 Sep 2016 14:49:53 +0300 Subject: [PATCH 1/1] Ticket 37. The true parameter changed to false in ensure_equals() function for the equal and cheper check in the testobject::text<9>() function. --- tests/test_tariff.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_tariff.cpp b/tests/test_tariff.cpp index 7f3c28a4..eb3a764f 100644 --- a/tests/test_tariff.cpp +++ b/tests/test_tariff.cpp @@ -413,12 +413,12 @@ 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); -- 2.44.2