git.stg.codes
/
stg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
fb965f7
)
Ticket 37. The false parameter changed to true and 'Prohibit equal'
author
Elena Mamontova
<helenh463@gmail.com>
Wed, 14 Sep 2016 14:52:56 +0000
(17:52 +0300)
committer
Elena Mamontova
<helenh463@gmail.com>
Wed, 14 Sep 2016 14:52:56 +0000
(17:52 +0300)
changed to 'Allow equal' in the ensure_equals() function for the 'equal'
object in testobject::test<9>() function.
tests/test_tariff.cpp
patch
|
blob
|
history
diff --git
a/tests/test_tariff.cpp
b/tests/test_tariff.cpp
index 90c91d31b9d59ae1e08941a7e829b9384a16e2a4..188aee8a1802cdad240568d766ab392ca783e7a5 100644
(file)
--- a/
tests/test_tariff.cpp
+++ b/
tests/test_tariff.cpp
@@
-418,7
+418,7
@@
namespace tut
td.tariffConf.fee = 100;
TARIFF_IMPL equal(td);
- ensure_equals("
Prohibit equal", tariff.TariffChangeIsAllowed(equal).empty(), fals
e);
+ ensure_equals("
Allow equal", tariff.TariffChangeIsAllowed(equal).empty(), tru
e);
td.tariffConf.fee = 150;
TARIFF_IMPL expensive(td);