Skip to content
Snippets Groups Projects
Commit b2560dca authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

Regtest

This tests for 31adcd34
parent fe7c2bc0
No related branches found
No related tags found
No related merge requests found
......@@ -96,6 +96,10 @@ int main(){
plumed.cmd("readInputLine","t: TORSION ATOMS=1,2,3,4");
plumed.cmd("readInputLine","RESTRAINT ARG=d AT=0 KAPPA=1");
// check regexp not surrounded by parentheses (bug in 2.3.3).
test_line(ofs,plumed,"RESTRAINT ARG=x(d) KAPPA=5 AT=0");
test_line(ofs,plumed,"RESTRAINT ARG=(d)x KAPPA=5 AT=0");
test_line(ofs,plumed,"EXTERNAL ARG=d FILE=potential LABEL=ext");
test_line(ofs,plumed,"METAD ARG=d PACE=1 SIGMA=1 HEIGHT=0 FILE=H1 RESTART=WHAT");
test_line(ofs,plumed,"METAD ARG=d PACE=1 SIGMA=1 TAU=5");
......
......@@ -42,6 +42,10 @@ readInputLine d: RMSD REFERENCE=test-too-many-atoms.pdb
+++ catched
readInputLine d: DRMSD REFERENCE=missing.pdb LOWER_CUTOFF=0.0 UPPER_CUTOFF=15.0
+++ catched
readInputLine RESTRAINT ARG=x(d) KAPPA=5 AT=0
+++ catched
readInputLine RESTRAINT ARG=(d)x KAPPA=5 AT=0
+++ catched
readInputLine EXTERNAL ARG=d FILE=potential LABEL=ext
+++ catched
readInputLine METAD ARG=d PACE=1 SIGMA=1 HEIGHT=0 FILE=H1 RESTART=WHAT
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment