### add atom AT_SETUP([Atoms - adding atom]) AT_KEYWORDS([atoms]) AT_CHECK([../../molecuilder -i test.conf -o mpqc pcp xyz tremolo pdb -a 1 --domain-position "10., 10., 10."], 0, [ignore], [ignore]) AT_CHECK([file=test.conf; diff -I '#.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Atoms/Add/post/$file], 0, [ignore], [ignore]) AT_CHECK([file=test.data; diff -I '#.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Atoms/Add/post/$file], 0, [ignore], [ignore]) AT_CHECK([file=test.in; diff -I '.*reated by molecuilder.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Atoms/Add/post/$file], 0, [ignore], [ignore]) AT_CHECK([file=test.pdb; diff -I '.*reated by molecuilder.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Atoms/Add/post/$file], 0, [ignore], [ignore]) AT_CHECK([file=test.xyz; diff -I '.*reated by molecuilder.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Atoms/Add/post/$file], 0, [ignore], [ignore]) AT_CHECK([../../molecuilder -i empty.conf -o pcp -a 1 --domain-position "10., 10., 10." --undo], 0, [ignore], [ignore]) AT_CHECK([file=empty.conf; diff $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Atoms/Add/post/$file], 0, [ignore], [ignore]) AT_CLEANUP AT_SETUP([Atoms - adding atom with Undo/Redo]) AT_KEYWORDS([atoms]) AT_CHECK([../../molecuilder -i test.conf -o mpqc pcp xyz tremolo pdb -a 1 --domain-position "10., 10., 10." --undo --redo], 0, [ignore], [ignore]) AT_CHECK([file=test.conf; diff -I '#.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Atoms/Add/post/$file], 0, [ignore], [ignore]) AT_CHECK([file=test.data; diff -I '#.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Atoms/Add/post/$file], 0, [ignore], [ignore]) AT_CHECK([file=test.in; diff -I '#.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Atoms/Add/post/$file], 0, [ignore], [ignore]) AT_CHECK([file=test.pdb; diff -I '.*reated by molecuilder.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Atoms/Add/post/$file], 0, [ignore], [ignore]) AT_CHECK([file=test.xyz; diff -I '.*reated by molecuilder.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Atoms/Add/post/$file], 0, [ignore], [ignore]) AT_CLEANUP AT_SETUP([Atoms - adding outside boundary fails]) AT_KEYWORDS([atoms,boundary]) AT_CHECK([../../molecuilder -i test2.conf -o mpqc pcp xyz tremolo pdb -a 1 --domain-position "0., 0., -1."], 134, [ignore], [ignore]) AT_CLEANUP