コード例 #1
0
ファイル: TraCITest.java プロジェクト: p1tt1/TraCI4J
 /**
  * This test demonstrates the usage of the {@link Lane} object to get topological information.
  *
  * @throws IOException
  */
 @Test
 public void testGetBelongingEdge() throws IOException {
   Lane lane = conn.getLaneRepository().getByID("beg_0");
   Edge edge = lane.getParentEdge();
   assertEquals("beg", edge.getID());
 }