//[TestCase(1, 892)] //[TestCase(2, 70)] //[TestCase(3, 555)] //[TestCase(4, 290)] public void GetLocationFromId(int id, int result) { var location = LocationService.GetLocationFromId(id); Assert.AreEqual(location.AddressId, result); }
public void Y_TestAddedLocation() { var addedLocation = LocationService.GetLocationFromId(Location.Id); Assert.AreEqual(addedLocation.Capacity, Location.Capacity); }
public LocationServiceTest() { TecAppContext = new TecAppContext(); LocationService = new LocationService(TecAppContext); }