AT_BANNER([MoleCuilder - Filling in molecules]) # 1. filling box AT_SETUP([Filling - filling empty box]) AT_KEYWORDS([filling]) AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Filling/1/pre/test.conf .], 0) AT_DATA([water.xyz], [[3 # test configuration, created by molecuilder test suite O 0. 0. 0. H 0.758602 0. 0.504284 H 0.758602 0. -0.504284 ]]) AT_CHECK([../../molecuilder test.conf -e ${abs_top_srcdir}/src/ -v 3 -F water.xyz --MaxDistance -1 --distances 3.1 3.1 3.1 --lengths 2.1 0. 0. --DoRotate 0], 0, [stdout], [stderr]) AT_CHECK([file=test.conf; diff $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Filling/1/post/$file], 0, [ignore], [ignore]) AT_CLEANUP # 2. suspend in water with certain density AT_SETUP([Filling - BROKEN: suspend in water]) AT_KEYWORDS([filling]) AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Filling/2/pre/test.conf .], 0) AT_CHECK([../../molecuilder test.conf -e ${abs_top_srcdir}/src/ -v 3 -u 1.3 --molecule-by-id 0], 0, [stdout], [stderr]) #AT_CHECK([file=test.conf; diff $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Filling/2/post/$file], 0, [ignore], [ignore]) AT_CLEANUP