public void Mapping_Latitude_To_Destination_Object() { var profile = new RouteStopMapper(); Mapper.AddProfile(profile); var dest = Mapper.Map <AddressSearch, Point>(_search); Assert.AreEqual(dest.x, _search.Latitude); }
public void Mapping_Street_To_Destination_Object() { var profile = new RouteStopMapper(); Mapper.AddProfile(profile); var dest = Mapper.Map <AddressSearch, RouteStop>(_search); Assert.AreEqual(dest.description, _search.StreetName); }