From: Elena Mamontova Date: Fri, 9 Sep 2016 11:44:51 +0000 (+0300) Subject: Ticket 37. The true parameter changed to false in ensure_equals() X-Git-Tag: 2.409~96 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/6c87c37a9ad6f98c00471ea9e3c97cdd978f46fc?ds=inline Ticket 37. The true parameter changed to false in ensure_equals() function for the equal and expensive check in the testobject::text<8>() function. --- diff --git a/tests/test_tariff.cpp b/tests/test_tariff.cpp index 2af67015..7f3c28a4 100644 --- a/tests/test_tariff.cpp +++ b/tests/test_tariff.cpp @@ -391,12 +391,12 @@ namespace tut 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); } template<>