### clear atom selection AT_SETUP([Unselection - clear atom selection]) AT_KEYWORDS([selection clear unselect-all-atoms]) file=box.xyz AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/ClearAtoms/pre/box.xyz $file], 0) AT_CHECK([chmod u+w $file], 0) AT_CHECK([../../molecuilder -i $file -v 3 --select-atom-by-id 0 --unselect-all-atoms -r], 0, [stdout], [stderr]) AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/ClearAtoms/pre/box.xyz], 0, [ignore], [ignore]) AT_CLEANUP AT_SETUP([Unselection - clear atom selection with Undo]) AT_KEYWORDS([selection clear unselect-all-atoms undo]) file=id0_missing.xyz AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/ClearAtoms/pre/box.xyz $file], 0) AT_CHECK([chmod u+w $file], 0) AT_CHECK([../../molecuilder -i $file -v 3 --select-atom-by-id 0 --unselect-all-atoms --undo -r], 0, [stdout], [stderr]) AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/ClearAtoms/post/id0_missing.xyz], 0, [ignore], [ignore]) AT_CLEANUP AT_SETUP([Unselection - clear atom selection with Redo]) AT_KEYWORDS([selection clear unselect-all-atoms redo]) file=box.xyz AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Selection/Atoms/ClearAtoms/pre/box.xyz $file], 0) AT_CHECK([chmod u+w $file], 0) AT_CHECK([../../molecuilder -i $file -v 3 --select-atom-by-id 0 --unselect-all-atoms --undo --redo -r], 0, [stdout], [stderr]) AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Selection/Atoms/ClearAtoms/pre/box.xyz], 0, [ignore], [ignore]) AT_CLEANUP