From: Elena Mamontova Date: Fri, 9 Sep 2016 07:23:11 +0000 (+0300) Subject: Ticket 37. 'Allow equal' and 'Allow cheaper' comments changed to X-Git-Tag: 2.409~98 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/1a5f230abb5e65d721c86af3817dd5f9635fe17a?ds=sidebyside Ticket 37. 'Allow equal' and 'Allow cheaper' comments changed to 'Prohibit equal' and 'Prohibit cheaper' in the testobject::test<9>() function. --- diff --git a/tests/test_tariff.cpp b/tests/test_tariff.cpp index 261acd26..be895f27 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("Allow cheaper", !tariff.TariffChangeIsAllowed(cheaper).empty(), true); + ensure_equals("Prohibit cheaper", !tariff.TariffChangeIsAllowed(cheaper).empty(), true); td.tariffConf.fee = 100; TARIFF_IMPL equal(td); - ensure_equals("Allow equal", !tariff.TariffChangeIsAllowed(equal).empty(), true); + ensure_equals("Prohibit equal", !tariff.TariffChangeIsAllowed(equal).empty(), true); td.tariffConf.fee = 150; TARIFF_IMPL expensive(td);