public void updateSpeedAndAuthorityTest()
 {
     module.dispatchNewTrain(0, new TrainModelProject.TrainModel(), 0.0, 0);
     module.updateSpeedAndAuthority(0, 15.0, 5);
     Assert.Fail();
 }
예제 #2
0
 public void dispatchOldTrain(int trainId)
 {
     module.updateSpeedAndAuthority(trainId, sugSpeed, sugAuth);
 }