From: Elena Mamontova Date: Fri, 9 Sep 2016 07:27:17 +0000 (+0300) Subject: Ticket 37. 'Allow equal', 'Allow cheaper' and 'Allow expensive' comments changed to X-Git-Tag: 2.409~97 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/0f56d028b335f16e9c2a8af0fff90048f6783d0a?ds=sidebyside Ticket 37. 'Allow equal', 'Allow cheaper' and 'Allow expensive' comments changed to 'Prohibit equal', 'Prohibit cheaper' and 'Prohibit expensive' in the testobject::test<10>() function. --- diff --git a/tests/test_tariff.cpp b/tests/test_tariff.cpp index be895f27..2af67015 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("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); - ensure_equals("Allow expensive", !tariff.TariffChangeIsAllowed(expensive).empty(), true); + ensure_equals("Prohibit expensive", !tariff.TariffChangeIsAllowed(expensive).empty(), true); } }