Examples of queryReadControlledLinks()


Examples of it.polito.appeal.traci.TrafficLight.queryReadControlledLinks()

  };
 
  @Test
  public void testControlledLinks() throws IOException {
    TrafficLight tl = repo.getByID("0");
    ControlledLinks links = tl.queryReadControlledLinks().get();
   
    assertEquals(linksLaneIDs.length, links.getLinks().length);
    for (int i=0; i<linksLaneIDs.length; i++) {
      ControlledLink[] linksForSignal = links.getLinks()[i];
      assertEquals(1, linksForSignal.length);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.