public void ToNumberSmallZ() { GeoCoordinate coord = new GeodeticCoordinate(Locations.TokyoGeodeticLongitude, Locations.TokyoGeodeticLatitude); Assert.Throws <ArgumentOutOfRangeException>(() => { Number num = coord.ToNumber(-1, Tile.DefaultSize, false); }); }
public void ToNumberNormal() { GeoCoordinate coord = new GeodeticCoordinate(Locations.TokyoGeodeticLongitude, Locations.TokyoGeodeticLatitude); Assert.DoesNotThrow(() => { Number num = coord.ToNumber(10, Tile.DefaultSize, false); }); }