aboutsummaryrefslogtreecommitdiff
path: root/Tests
diff options
context:
space:
mode:
authorIan Hinder <ian.hinder@aei.mpg.de>2013-09-12 12:29:03 +0200
committerIan Hinder <ian.hinder@aei.mpg.de>2013-09-12 12:29:03 +0200
commit665ca92c009400580e0b65f461a1a73ede5ccf35 (patch)
tree7940ae51c4b2bdb91210c381ca8493391bc2b97f /Tests
parentfa7c5ceebcba28d49aea32306e283bd47d0a9972 (diff)
Kranc.mt: Add test for ParameterConditions
Diffstat (limited to 'Tests')
-rw-r--r--Tests/Kranc.mt15
1 files changed, 15 insertions, 0 deletions
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"
+]