diff options
author | Ian Hinder <ian.hinder@aei.mpg.de> | 2013-09-05 22:42:09 +0200 |
---|---|---|
committer | Ian Hinder <ian.hinder@aei.mpg.de> | 2013-09-05 22:42:09 +0200 |
commit | 26e79319d01d1e6f1d487fceb83109197942b76f (patch) | |
tree | b6e7ee9aa6b67bd1deef157253d90f533925df0a /Tests/Kranc.mt | |
parent | 8dc9d575739bb7a03ca3a62d034958327b3db5cd (diff) |
Kranc.mt: Update IfThen test to expect integer 0 not floating point 0. in comparison
Diffstat (limited to 'Tests/Kranc.mt')
-rw-r--r-- | Tests/Kranc.mt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/Kranc.mt b/Tests/Kranc.mt index 20af73e..bf13bca 100644 --- a/Tests/Kranc.mt +++ b/Tests/Kranc.mt @@ -89,9 +89,9 @@ Test[ Calculations -> {initialSineCalc, evolveCalc}]]; {StringMatchQ[Import["TestThorns/IfThen/src/calc_rhs.cc","Text"], - __~~"if (alpha > 0.)"~~__], + __~~"if (alpha > 0)"~~__], StringMatchQ[Import["TestThorns/IfThen/src/initial_sine.cc","Text"], - __~~"IfThen(xL"~~Whitespace~~">"~~Whitespace~~"0."~~__]} + __~~"IfThen(xL"~~Whitespace~~">"~~Whitespace~~"0"~~__]} , {True, True} , |