### remove atom AT_SETUP([Atoms - Atom removal with Undo/Redo]) AT_KEYWORDS([atoms]) AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Atoms/Remove/pre/test.conf .], 0) AT_CHECK([../../molecuilder -i test.conf -o mpqc pcp xyz --select-atom-by-id 0 -r], 0, [ignore], [ignore]) AT_CHECK([file=test.conf; diff $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Atoms/Remove/post/$file], 0, [ignore], [ignore]) AT_CHECK([file=test.in; diff $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Atoms/Remove/post/$file], 0, [ignore], [ignore]) AT_CHECK([file=test.xyz; diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Atoms/Remove/post/$file], 0, [ignore], [ignore]) AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Atoms/Remove/pre/test.conf .], 0) AT_CHECK([../../molecuilder -i test.conf --select-atom-by-id 0 -r --undo], 0, [ignore], [ignore]) AT_CHECK([file=test.conf; diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Atoms/Remove/pre/$file], 0, [ignore], [ignore]) AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Atoms/Remove/pre/test.conf .], 0) AT_CHECK([../../molecuilder -i test.conf --select-atom-by-id 0 -r --undo --redo], 0, [ignore], [ignore]) AT_CHECK([file=test.conf; diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Atoms/Remove/post/$file], 0, [ignore], [ignore]) AT_CLEANUP