File tree Expand file tree Collapse file tree
src/test/kotlin/cz/vutbr/fit/interlockSim/context Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -534,7 +534,7 @@ class DefaultRailWayNetGridTest {
534534 Point (8 , 8 ), Point (9 , 9 )
535535 )
536536 val parts = intermediatePoints.map { createTestTrackBlockPart() }
537- val map: Map < Point , TrackBlockPart > = intermediatePoints.zip(parts).toMap()
537+ val map = intermediatePoints.zip(parts).toMap()
538538 grid.putMap(map)
539539
540540 // Act & Assert - all points should pass containsKey check
@@ -586,7 +586,7 @@ class DefaultRailWayNetGridTest {
586586 Point (5 , 5 ), Point (6 , 6 )
587587 )
588588 val parts = intermediatePoints.map { createTestTrackBlockPart() }
589- val map: Map < Point , TrackBlockPart > = intermediatePoints.zip(parts).toMap()
589+ val map = intermediatePoints.zip(parts).toMap()
590590 grid.putMap(map)
591591
592592 // Act - remove all intermediate cells (simulates removeLine scenario)
You can’t perform that action at this time.
0 commit comments