Пример #1
0
        public void Be_Creatable()
        {
            var sut = new NZazuCoordinate {
                Lat = 23, Lon = -10
            };

            sut.Should().NotBeNull();
            sut.Lat.Should().Be(23);
            sut.Lon.Should().Be(-10);
        }
Пример #2
0
        public void Be_Creatble()
        {
            var sut = new SupportGeoLocationBox();

            sut.Should().NotBeNull();

            var data = new NZazuCoordinate {
                Lat = 23.4, Lon = 56.7
            };

            data.Should().BeEquivalentTo(sut.Parse(sut.ToString(data)));
        }