1 | ### create Micelle
|
---|
2 |
|
---|
3 | AT_SETUP([Molecules - Create micelle])
|
---|
4 | AT_KEYWORDS([molecules create-micelle])
|
---|
5 |
|
---|
6 | file=tensid.data
|
---|
7 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Molecules/CreateMicelle/pre/tensid.data $file], 0)
|
---|
8 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Molecules/CreateMicelle/pre/tensid.potentials .], 0)
|
---|
9 | AT_CHECK([chmod u+w $file], 0)
|
---|
10 | AT_CHECK([../../molecuilder --parse-tremolo-potentials tensid.potentials -i $file --select-all-molecules --create-micelle 200 --position "0,0,10" --radius 50.], 0, [stdout], [stderr])
|
---|
11 | AT_CHECK([grep "Shifting 194 copy of tenside molecule" stdout], 0, [ignore], [ignore])
|
---|
12 | AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Molecules/CreateMicelle/post/tensid.data], 0, [ignore], [ignore])
|
---|
13 |
|
---|
14 | AT_CLEANUP
|
---|
15 |
|
---|
16 |
|
---|
17 | AT_SETUP([Molecules - Create micelle with Undo])
|
---|
18 | AT_KEYWORDS([molecules create-micelle undo])
|
---|
19 |
|
---|
20 | file=tensid.data
|
---|
21 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Molecules/CreateMicelle/pre/tensid.data $file], 0)
|
---|
22 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Molecules/CreateMicelle/pre/tensid.potentials .], 0)
|
---|
23 | AT_CHECK([chmod u+w $file], 0)
|
---|
24 | AT_CHECK([../../molecuilder --parse-tremolo-potentials tensid.potentials -i $file --select-all-molecules --create-micelle 200 --position "0,0,10" --radius 50. --undo], 0, [stdout], [stderr])
|
---|
25 | AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Molecules/CreateMicelle/pre/$file], 0, [ignore], [ignore])
|
---|
26 |
|
---|
27 | AT_CLEANUP
|
---|
28 |
|
---|
29 |
|
---|
30 | AT_SETUP([Molecules - Create micelle with Redo])
|
---|
31 | AT_XFAIL_IF([/bin/true])
|
---|
32 | AT_KEYWORDS([molecules create-micelle redo])
|
---|
33 |
|
---|
34 | file=tensid.data
|
---|
35 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Molecules/CreateMicelle/pre/tensid.data $file], 0)
|
---|
36 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Molecules/CreateMicelle/pre/tensid.potentials .], 0)
|
---|
37 | AT_CHECK([chmod u+w $file], 0)
|
---|
38 | AT_CHECK([../../molecuilder --parse-tremolo-potentials tensid.potentials -i $file --select-all-molecules --create-micelle 200 --position "0,0,10" --radius 50. --undo --redo], 0, [stdout], [stderr])
|
---|
39 | AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Molecules/CreateMicelle/post/tensid.data], 0, [ignore], [ignore])
|
---|
40 |
|
---|
41 | AT_CLEANUP
|
---|