public void UpdateEdgeWeight_ToEdgeIDNotFound()
 {
     try
     {
         NetworkAnalyst networkAnalyst = new NetworkAnalyst("http://" + ip + ":8090/iserver/services/transportationanalyst-sample/rest");
         bool succeed = networkAnalyst.UpdateEdgeWeight("RoadNet@Changchun", 1, 2, 2, "time", 100);
     }
     catch (ServiceException exception)
     {
         //Assert.IsTrue(false);
     }
 }
 public void UpdateEdgeWeight_DatasetNameIsEmpty()
 {
     try
     {
         NetworkAnalyst networkAnalyst = new NetworkAnalyst("http://" + ip + ":8090/iserver/services/transportationanalyst-sample/rest");
         bool succeed = networkAnalyst.UpdateEdgeWeight("", 1, 2027, 2028, "", 30);
     }
     catch (ArgumentNullException exception)
     {
         Assert.IsTrue(exception.ParamName == "networkDatasetName");
     }
 }
 public void UpdateEdgeWeight()
 {
     NetworkAnalyst networkAnalyst = new NetworkAnalyst("http://" + ip + ":8090/iserver/services/transportationanalyst-sample/rest");
     bool succeed = networkAnalyst.UpdateEdgeWeight("RoadNet@Changchun", 1, 5683, 5684, "length", 100);
     Assert.IsTrue(succeed);
 }