AIMS_BD_IATI.UnitTest.LocationTests.GetNearestLocationDahkaTest C# (CSharp) Метод

GetNearestLocationDahkaTest() приватный Метод

private GetNearestLocationDahkaTest ( ) : void
Результат void
        public void GetNearestLocationDahkaTest()
        {
            System.Collections.Generic.List<GeoLocation> districts = NewMethod();

            location location = new location
            {
                point = new locationPoint { pos = "23.72 90.38" }
            };

            var nearestGeoLocation = AimsDAL.GetNearestGeoLocation(districts, location);

            Assert.AreEqual("Dhaka", nearestGeoLocation.Name);
        }