Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/regression/Molecules/Translation/testsuite-molecules-translation.at

    r0d97b4 r066442  
    11#
    22#    MoleCuilder - creates and alters molecular systems
    3 #    Copyright (C) 2008-2012 University of Bonn
     3#    Copyright (C) 2014 Frederik Heber
    44#
    55#    This program is free software: you can redistribute it and/or modify
     
    1919
    2020AT_SETUP([Molecules - Translation])
    21 AT_KEYWORDS([molecules translate-atoms])
     21AT_KEYWORDS([molecules translate-molecules])
    2222
    2323file=test.conf
    2424AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Molecules/Translation/pre/test.conf $file], 0)
    2525AT_CHECK([chmod u+w $file], 0)
    26 AT_CHECK([../../molecuilder -i $file --select-molecule-by-id 0 --select-molecules-atoms -t "1., 1., 1." --periodic 0], 0, [stdout], [stderr])
     26AT_CHECK([../../molecuilder -i $file --select-molecule-by-id 0 --translate-molecules --position "1., 1., 1." --periodic 0], 0, [stdout], [stderr])
    2727AT_CHECK([diff $file ${abs_top_srcdir}/tests/regression/Molecules/Translation/post/test.conf], 0, [ignore], [ignore])
    2828
     
    3030AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Molecules/Translation/pre/test2.conf $file], 0)
    3131AT_CHECK([chmod u+w $file], 0)
    32 AT_CHECK([../../molecuilder -i $file --select-molecule-by-id 0 --select-molecules-atoms -t "-1., -1., -1." --periodic 0], 0, [stdout], [stderr])
     32AT_CHECK([../../molecuilder -i $file --select-molecule-by-id 0 --translate-molecules --position "-1., -1., -1." --periodic 0], 0, [stdout], [stderr])
    3333AT_CHECK([diff $file ${abs_top_srcdir}/tests/regression/Molecules/Translation/post/test2.conf], 0, [ignore], [ignore])
    3434
     
    3737
    3838AT_SETUP([Molecules - Translation with Undo])
    39 AT_KEYWORDS([molecules translate-atoms undo])
     39AT_KEYWORDS([molecules translate-molecules undo])
    4040
    4141file=test.conf
    4242AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Molecules/Translation/pre/test.conf $file], 0)
    4343AT_CHECK([chmod u+w $file], 0)
    44 AT_CHECK([../../molecuilder -i $file --select-molecule-by-id 0 --select-molecules-atoms -t "1., 1., 1." --periodic 0 --undo], 0, [stdout], [stderr])
     44AT_CHECK([../../molecuilder -i $file --select-molecule-by-id 0 --translate-molecules --position "1., 1., 1." --periodic 0 --undo], 0, [stdout], [stderr])
    4545AT_CHECK([diff $file ${abs_top_srcdir}/tests/regression/Molecules/Translation/post/test-undo.conf], 0, [ignore], [ignore])
    4646
     
    4848AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Molecules/Translation/pre/test2.conf $file], 0)
    4949AT_CHECK([chmod u+w $file], 0)
    50 AT_CHECK([../../molecuilder -i $file --select-molecule-by-id 0 --select-molecules-atoms -t "-1., -1., -1." --periodic 0 --undo], 0, [stdout], [stderr])
     50AT_CHECK([../../molecuilder -i $file --select-molecule-by-id 0 --translate-molecules --position "-1., -1., -1." --periodic 0 --undo], 0, [stdout], [stderr])
    5151AT_CHECK([diff $file ${abs_top_srcdir}/tests/regression/Molecules/Translation/post/test2-undo.conf], 0, [ignore], [ignore])
    5252
     
    5555
    5656AT_SETUP([Molecules - Translation with Redo])
    57 AT_KEYWORDS([molecules translate-atoms redo])
     57AT_KEYWORDS([molecules translate-molecules redo])
    5858
    5959file=test.conf
    6060AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Molecules/Translation/pre/test.conf $file], 0)
    6161AT_CHECK([chmod u+w $file], 0)
    62 AT_CHECK([../../molecuilder -i $file --select-molecule-by-id 0 --select-molecules-atoms -t "1., 1., 1." --periodic 0 --undo --redo], 0, [stdout], [stderr])
     62AT_CHECK([../../molecuilder -i $file --select-molecule-by-id 0 --translate-molecules --position "1., 1., 1." --periodic 0 --undo --redo], 0, [stdout], [stderr])
    6363AT_CHECK([diff $file ${abs_top_srcdir}/tests/regression/Molecules/Translation/post/test.conf], 0, [ignore], [ignore])
    6464
     
    6666AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Molecules/Translation/pre/test2.conf $file], 0)
    6767AT_CHECK([chmod u+w $file], 0)
    68 AT_CHECK([../../molecuilder -i $file --select-molecule-by-id 0 --select-molecules-atoms -t "-1., -1., -1." --periodic 0 --undo --redo], 0, [stdout], [stderr])
     68AT_CHECK([../../molecuilder -i $file --select-molecule-by-id 0 --translate-molecules --position "-1., -1., -1." --periodic 0 --undo --redo], 0, [stdout], [stderr])
    6969AT_CHECK([diff $file ${abs_top_srcdir}/tests/regression/Molecules/Translation/post/test2.conf], 0, [ignore], [ignore])
    7070
Note: See TracChangeset for help on using the changeset viewer.