Changeset 220 in tmcsimulator for trunk/test/tmcsim/cadsimulator/managers/TrafficModelManagerTest.java
- Timestamp:
- 11/03/2017 02:55:08 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/tmcsim/cadsimulator/managers/TrafficModelManagerTest.java
r204 r220 35 35 } 36 36 37 /**38 * Test of readBatchFile method, of class TrafficModelManager.39 */40 37 public void testReadBatchFile() throws SimulationException, ParseException 41 38 { … … 55 52 assertEquals(expResult, result); 56 53 } 57 54 /** 55 * Test of readBatchFile method, of class TrafficModelManager. 56 */ 57 public void testReadBatchFile2() throws SimulationException, ParseException 58 { 59 System.out.println("readBatchFile blank lines test"); 60 String alpha = " "; 61 String bravo = "187 00:00:37 55 S 6.88 0.2 R"; 62 String dataIn = alpha + "\n" + bravo + "\n"; 63 Scanner scan = new Scanner(dataIn); 64 65 LinkedList<TrafficEvent> result = TrafficModelManager.readBatchFile(scan); 66 assertEquals(1,result.size()); 67 } 68 58 69 public void testCreateIncidentMap() throws ParseException 59 70 {
Note: See TracChangeset
for help on using the changeset viewer.
