We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2619aed commit debe4e3Copy full SHA for debe4e3
test/CMakeLists.txt
@@ -277,6 +277,14 @@ COMBINE_ADD_TEST(simple-counting-experiment-text2workspace
277
# No output, so nothing to compare. We just check that it runs.
278
)
279
280
+# Test that setting a parameter outside its range throws an error
281
+COMBINE_ADD_TEST(setParameters-out-of-range
282
+ COMMAND combine -M MultiDimFit simple-counting-experiment.txt --setParameters r=-1.05
283
+ COPY_TO_BUILDDIR ${REPO}/data/tutorials/counting/simple-counting-experiment.txt
284
+ PASSRC 1
285
+ PASSREGEX "outside its range"
286
+)
287
+
288
COMBINE_ADD_TEST(simple-shapes-TH1-text2workspace
289
COMMAND text2workspace.py simple-shapes-TH1.txt
290
COPY_TO_BUILDDIR ${REPO}/data/tutorials/shapes/simple-shapes-TH1.txt
0 commit comments