From 26e79319d01d1e6f1d487fceb83109197942b76f Mon Sep 17 00:00:00 2001 From: Ian Hinder Date: Thu, 5 Sep 2013 22:42:09 +0200 Subject: Kranc.mt: Update IfThen test to expect integer 0 not floating point 0. in comparison --- Tests/Kranc.mt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Tests') 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} , -- cgit v1.2.3