From 665ca92c009400580e0b65f461a1a73ede5ccf35 Mon Sep 17 00:00:00 2001 From: Ian Hinder Date: Thu, 12 Sep 2013 12:29:03 +0200 Subject: Kranc.mt: Add test for ParameterConditions --- Tests/Kranc.mt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'Tests') diff --git a/Tests/Kranc.mt b/Tests/Kranc.mt index 6adc947..e6c60cd 100644 --- a/Tests/Kranc.mt +++ b/Tests/Kranc.mt @@ -215,3 +215,18 @@ Test[ , TestID->"Analysis-3TL" ] + +Test[ + ClearAllTensors[]; + CreateKrancThornTT[ + $groups, "TestThorns", "ParamCheck", + PartialDerivatives -> $derivatives, + DeclaredGroups -> {"evolved_group"}, + Calculations -> {$initialSineCalc, $evolveCalc}, + RealParameters -> {aparam}, + ParameterConditions -> {{aparam == 0, "aparam must be == 0"}}] + , + Null + , + TestID->"ParamCheck" +] -- cgit v1.2.3