AIMS_BD_IATI.UnitTest.LocationTests.GetNearestLocationCtgTest C# (CSharp) 메소드

GetNearestLocationCtgTest() 개인적인 메소드

private GetNearestLocationCtgTest ( ) : void
리턴 void
        public void GetNearestLocationCtgTest()
        {
            System.Collections.Generic.List<GeoLocation> districts = NewMethod();

            location location = new location
            {
                point = new locationPoint { pos = "22.3475 91.8123" }
            };

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

            Assert.AreEqual("Chittagong", nearestGeoLocation.Name);
        }
        private static System.Collections.Generic.List<GeoLocation> NewMethod()