public void InsertLocationSuccess()
        {
            Location location = new Location
            {
                Longitude = 32.43543m,
                Latitude  = 14.32456m,
                Active    = true
            };
            int oldNumberOfLocations = LocationDB.GetLocations(active).Count;

            LocationDB.InsertLocation(location);
            Assert.AreEqual(oldNumberOfLocations + 1, LocationDB.GetLocations(active).Count);
        }
Exemplo n.º 2
0
 public Location InsertLocation(Location location)
 {
     return(LocationDB.InsertLocation(location));
 }