public void UpdateTurnNodeWeight_ToEdgeIDNotFound()
 {
     try
     {
         NetworkAnalyst networkAnalyst = new NetworkAnalyst("http://" + ip + ":8090/iserver/services/transportationanalyst-sample/rest");
         bool succeed = networkAnalyst.UpdateTurnNodeWeight("RoadNet@Changchun", 1, 2027, 2028, "TurnCost", 30);
     }
     catch (ServiceException exception)
     {
         Assert.IsTrue(exception.Code == 400);
     }
 }
 public void UpdateTurnNodeWeight_DatasetNameIsEmpty()
 {
     try
     {
         NetworkAnalyst networkAnalyst = new NetworkAnalyst("http://" + ip + ":8090/iserver/services/transportationanalyst-sample/rest");
         bool succeed = networkAnalyst.UpdateTurnNodeWeight("", 1, 2027, 2028, "", 30);
     }
     catch (ArgumentNullException exception)
     {
         Assert.IsTrue(exception.ParamName == "networkDatasetName");
     }
 }
 public void UpdateTurnNodeWeight()
 {
     NetworkAnalyst networkAnalyst = new NetworkAnalyst("http://" + ip + ":8090/iserver/services/transportationanalyst-sample/rest");
     bool succeed = networkAnalyst.UpdateTurnNodeWeight("RoadNet@Changchun", 1, 2027, 2027, "TurnCost", 30);
     Assert.IsTrue(succeed);
 }