- Timestamp:
 - Aug 13, 2025, 8:24:42 AM (3 months ago)
 - Branches:
 - Candidate_v1.7.0, stable
 - Children:
 - 780bfa
 - Parents:
 - 1c355bf
 - git-author:
 - Frederik Heber <frederik.heber@…> (08/13/25 08:17:04)
 - git-committer:
 - Frederik Heber <frederik.heber@…> (08/13/25 08:24:42)
 - File:
 - 
      
- 1 edited
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
tests/regression/Options/UndoMark/testsuite-options-undo-mark.at
r1c355bf rbcc29ca 22 22 23 23 # simple call 24 AT_CHECK([../../molecuilder -- undo-mark 1 --undo --till-mark 1], 0, [ignore], [ignore])24 AT_CHECK([../../molecuilder --set-undo-mark 1 --undo-till-mark], 0, [ignore], [ignore]) 25 25 26 26 # add an atom prior to undo-mark 27 AT_CHECK([../../molecuilder - -add-atom 1 --domain-position "5,5,5" --undo-mark 1 --undo --till-mark 1], 0, [stdout], [ignore])28 AT_CHECK([grep "Removing atom" stdout], 1, [ignore], [ignore])27 AT_CHECK([../../molecuilder -i test-simple-prior.conf --add-atom 1 --domain-position "5,5,5" --set-undo-mark 1 --undo-till-mark], 0, [stdout], [ignore]) 28 AT_CHECK([grep -c "ATOM" test-simple-prior.conf], 1, [ignore], [ignore]) 29 29 30 30 # add an atom after to undo-mark 31 AT_CHECK([../../molecuilder - -undo-mark 1 --add-atom 1 --domain-position "5,5,5" --undo --till-mark 1], 0, [stdout], [ignore])32 AT_CHECK([grep "Removing atom" stdout], 0, [ignore], [ignore])31 AT_CHECK([../../molecuilder -i test-simple-after.conf --set-undo-mark 1 --add-atom 1 --domain-position "5,5,5" --undo-till-mark], 0, [stdout], [ignore]) 32 AT_CHECK([grep -c "ATOM" test-simple-after.conf], 1, [ignore], [ignore]) 33 33 34 # add an atom prior to undo-mark 35 AT_CHECK([../../molecuilder - -undo-mark 0 --add-atom 1 --domain-position "5,5,5" --select-all-atoms --undo --till-mark 1], 0, [stdout], [ignore])36 AT_CHECK([grep "Removing atom" stdout], 1, [ignore], [ignore])34 # add an atom prior to undo-mark reset 35 AT_CHECK([../../molecuilder -i test-simple-prior-reset.conf --set-undo-mark 0 --add-atom 1 --domain-position "5,5,5" --select-all-atoms --undo-till-mark], 0, [stdout], [ignore]) 36 AT_CHECK([grep -c "ATOM" test-simple-prior-reset.conf], 1, [ignore], [ignore]) 37 37 38 38 # input file with added atom 39 AT_CHECK([../../molecuilder -- undo-mark 1 --input hydrogen.xyz --add-atom 1 --domain-position "5,5,5" --undo --till-mark 1--select-all-atoms], 0, [stdout], [ignore])39 AT_CHECK([../../molecuilder --set-undo-mark 1 --input hydrogen.xyz --add-atom 1 --domain-position "5,5,5" --undo-till-mark --select-all-atoms], 0, [stdout], [ignore]) 40 40 AT_CHECK([grep "0 atoms selected" stdout], 0, [ignore], [ignore]) 41 41 42 42 # input file with added atom 43 AT_CHECK([../../molecuilder --input hydrogen.xyz --add-atom 1 --domain-position "5,5,5" -- undo-mark 0 --undo --till-mark 0], 0, [stdout], [ignore])43 AT_CHECK([../../molecuilder --input hydrogen.xyz --add-atom 1 --domain-position "5,5,5" --set-undo-mark 0 --undo-till-mark], 0, [stdout], [ignore]) 44 44 AT_CHECK([grep "Resetting mark" stdout], 0, [ignore], [ignore]) 45 45  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  