Exemplo n.º 1
0
        public void Yahoo_PlaceFinder_PlaceByCoordinates_Location_ShouldConvertLatitudeAndLongitudeToStringRepresentation()
        {
            var it = new PlaceByCoordinates(55.555, 111.111);

            it.ShouldNotBeNull();
            it.Location.ShouldEqual("55.555 111.111");
        }
        public void Yahoo_PlaceFinder_PlaceByCoordinates_Location_ShouldConvertLatitudeAndLongitudeToStringRepresentation()
        {
            var it = new PlaceByCoordinates(55.555, 111.111);

            it.ShouldNotBeNull();
            it.Location.ShouldEqual("55.555 111.111");
        }
Exemplo n.º 3
0
        public void Yahoo_PlaceFinder_PlaceByCoordinates_ShouldConstructWithLatitudeAndLongitude()
        {
            var it = new PlaceByCoordinates(55.555, 111.111);

            it.ShouldNotBeNull();
            it.Latitude.ShouldEqual(55.555);
            it.Longitude.ShouldEqual(111.111);
        }
        public void Yahoo_PlaceFinder_PlaceByCoordinates_ShouldConstructWithLatitudeAndLongitude()
        {
            var it = new PlaceByCoordinates(55.555, 111.111);

            it.ShouldNotBeNull();
            it.Latitude.ShouldEqual(55.555);
            it.Longitude.ShouldEqual(111.111);
        }
        public void Yahoo_PlaceFinder_PlaceByCoordinates_ShouldAllowLongitudeToBeChanged_AfterConstruction()
        {
            var it = new PlaceByCoordinates(55.555, 111.111) { Longitude = 88.888 };

            it.ShouldNotBeNull();
            it.Latitude.ShouldEqual(55.555);
            it.Longitude.ShouldEqual(88.888);
        }
Exemplo n.º 6
0
        public void Yahoo_PlaceFinder_PlaceByCoordinates_ShouldAllowLongitudeToBeChanged_AfterConstruction()
        {
            var it = new PlaceByCoordinates(55.555, 111.111)
            {
                Longitude = 88.888
            };

            it.ShouldNotBeNull();
            it.Latitude.ShouldEqual(55.555);
            it.Longitude.ShouldEqual(88.888);
        }