Changeset 111 in tmcsimulator-scriptbuilder for trunk/test/scriptbuilder


Ignore:
Timestamp:
09/05/2017 05:48:12 PM (9 years ago)
Author:
bmcguffin
Message:

Annotated these files. Fixed a bug that caused newly created incidents to have the wrong offset when new events were added.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/scriptbuilder/structures/SimulationScriptTest.java

    r80 r111  
    235235        assertEquals(11, result); 
    236236 
    237         ((ScriptEvent) instance.incidents.get(0).slices.get(0).events.get(0)).length = 45; 
     237        ((ScriptEvent) instance.incidents.get(0).slices.get(10).events.get(0)).length = 45; 
    238238        instance.incidents.get(0).updateLength(); 
    239239        assertEquals(10, instance.incidents.get(0).offset); 
Note: See TracChangeset for help on using the changeset viewer.