public void TravelServiceGapTest() { int gap = Vehicles2.TravelServiceGap(Services1.ByVehicle(Vehicles2.List[0]), Journeys1.ByVehicle(Vehicles2.List[0])); Assert.AreEqual(9985, gap); }
public void FindIdTest() { Assert.AreEqual(3, Services1.FindId()); }
public void ByVehicleTest() { Assert.AreEqual(2, (Services1.ByVehicle(Vehicles2.List[0])).Count); }
public void RecentTest() { Assert.AreEqual(15, (Services1.Recent(Vehicles2.List[0])).Odometer); }
public void DeleteTest() { Services1.Delete(Services1.List[0]); Assert.AreEqual(1, Services1.List.Count); }
public void EditTest() { Services1.Edit(Services1.List[0], 300, 500m, new DateTime(2018, 12, 20)); Assert.AreEqual(300, Services1.List[0].Odometer); }