Examples of queryChangeLightsState()


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

  private static final TLState TEST_TL_STATE = new TLState("rrGGyyyyggrryryr");

  @Test
  public void testChangeState() throws IOException {
    TrafficLight tl = repo.getByID("0");
    ChangeLightsStateQuery q = tl.queryChangeLightsState();
    q.setValue(TEST_TL_STATE);
    q.run();
   
    assertEquals(TEST_TL_STATE, tl.queryReadState().get());
  }
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.