### 1. (un)select all atoms AT_SETUP([Selection - All Atoms]) AT_KEYWORDS([selection]) AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Selection/Atoms/1/pre/box.xyz allatoms.xyz], 0) AT_CHECK([../../molecuilder -i allatoms.xyz -v 3 --select-all-atoms -r], 0, [stdout], [stderr]) AT_CHECK([file=allatoms.xyz; diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Selection/Atoms/1/post/$file], 0, [ignore], [ignore]) AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Selection/Atoms/1/pre/box.xyz allatoms.xyz], 0) AT_CHECK([../../molecuilder -i allatoms.xyz -v 3 --select-all-atoms --undo -r], 0, [stdout], [stderr]) AT_CHECK([file=allatoms.xyz; diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Selection/Atoms/1/pre/box.xyz], 0, [ignore], [ignore]) AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Selection/Atoms/1/pre/box.xyz allatoms.xyz], 0) AT_CHECK([../../molecuilder -i allatoms.xyz -v 3 --select-all-atoms --undo --redo -r], 0, [stdout], [stderr]) AT_CHECK([file=allatoms.xyz; diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Selection/Atoms/1/post/$file], 0, [ignore], [ignore]) AT_CLEANUP AT_SETUP([Unselection - All Atoms]) AT_KEYWORDS([selection]) AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Selection/Atoms/1/pre/box.xyz .], 0) AT_CHECK([../../molecuilder -i box.xyz -v 3 --select-atom-by-id 0 --unselect-all-atoms -r], 0, [stdout], [stderr]) AT_CHECK([file=box.xyz; diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Selection/Atoms/1/pre/$file], 0, [ignore], [ignore]) AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Selection/Atoms/1/pre/box.xyz id0_missing.xyz], 0) AT_CHECK([../../molecuilder -i id0_missing.xyz -v 3 --select-atom-by-id 0 --unselect-all-atoms --undo -r], 0, [stdout], [stderr]) AT_CHECK([file=id0_missing.xyz; diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Selection/Atoms/1/post/$file], 0, [ignore], [ignore]) AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Selection/Atoms/1/pre/box.xyz .], 0) AT_CHECK([../../molecuilder -i box.xyz -v 3 --select-atom-by-id 0 --unselect-all-atoms --undo --redo -r], 0, [stdout], [stderr]) AT_CHECK([file=box.xyz; diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Selection/Atoms/1/pre/$file], 0, [ignore], [ignore]) AT_CLEANUP