Ignore:
Timestamp:
Jun 20, 2017, 8:02:18 PM (8 years ago)
Author:
Frederik Heber <frederik.heber@…>
Branches:
Action_Thermostats, Add_AtomRandomPerturbation, Add_SelectAtomByNameAction, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_StructOpt_integration_tests, AutomationFragmentation_failures, Candidate_v1.6.1, ChangeBugEmailaddress, ChemicalSpaceEvaluator, Docu_Python_wait, EmpiricalPotential_contain_HomologyGraph_documentation, Enhance_userguide, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Example_ManyWaysToTranslateAtom, Exclude_Hydrogens_annealWithBondGraph, Fix_StepWorldTime_single_argument, Fix_Verbose_Codepatterns, ForceAnnealing_oldresults, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, Gui_displays_atomic_force_velocity, IndependentFragmentGrids_IntegrationTest, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, StoppableMakroAction, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps
Children:
9f2071
Parents:
15d21e
git-author:
Frederik Heber <heber@…> (03/23/17 03:35:32)
git-committer:
Frederik Heber <frederik.heber@…> (06/20/17 20:02:18)
Message:

StepWorldTime now has a single argument.

  • this was not possible due to the problems with negative numbers being recognized as shortforms of options before.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/regression/WorldTime/StepWorldTime/testsuite-worldtime-step-world-time.at

    r15d21e r137845  
    2121AT_KEYWORDS([worldtime step-world-time set-world-time])
    2222
    23 AT_CHECK([../../molecuilder --step-world-time --steps-forward 1], 0, [stdout], [stderr])
     23AT_CHECK([../../molecuilder --step-world-time 1], 0, [stdout], [stderr])
    2424AT_CHECK([fgrep "Current time step is now: 1" stdout], 0, [ignore], [ignore])
    25 AT_CHECK([../../molecuilder --set-world-time 4 --step-world-time --steps-backward 2], 0, [stdout], [stderr])
     25AT_CHECK([../../molecuilder --set-world-time 4 --step-world-time -2], 0, [stdout], [stderr])
    2626AT_CHECK([fgrep "Current time step is now: 2" stdout], 0, [ignore], [ignore])
    2727# stepping back too far fails
    28 AT_CHECK([../../molecuilder --set-world-time 1 --step-world-time --steps-backward 2], 5, [stdout], [stderr])
     28AT_CHECK([../../molecuilder --set-world-time 1 --step-world-time -2], 5, [stdout], [stderr])
    2929
    3030AT_CLEANUP
     
    3434AT_KEYWORDS([worldtime step-world-time set-world-time undo])
    3535
    36 AT_CHECK([../../molecuilder --set-world-time 2 --step-world-time --steps-backward  1 --undo], 0, [stdout], [stderr])
     36AT_CHECK([../../molecuilder --set-world-time 2 --step-world-time -1 --undo], 0, [stdout], [stderr])
    3737AT_CHECK([fgrep "Current time step is now again: 2" stdout], 0, [ignore], [ignore])
    3838
     
    4242AT_KEYWORDS([worldtime step-world-time set-world-time undo redo])
    4343
    44 AT_CHECK([../../molecuilder --set-world-time 2 --step-world-time --steps-backward 1 --undo --redo], 0, [stdout], [stderr])
     44AT_CHECK([../../molecuilder --set-world-time 2 --step-world-time -1 --undo --redo], 0, [stdout], [stderr])
    4545AT_CHECK([fgrep "Current time step is now: 1" stdout], 0, [ignore], [ignore])
    4646
Note: See TracChangeset for help on using the changeset viewer.