Beispiel #1
0
        public void At()
        {
            var lookWithOsm = new LookWithOsm(null, LookWithOsmAdjustment.Default, new OverpassApiClient(new TestHttpClient()));

            var objects = lookWithOsm.At(TestConstants.NEPoint, Geometry.ToRad(35)).ToArray();

            Assert.IsNotNull(objects);
            Assert.AreEqual(2, objects.Length);
        }
Beispiel #2
0
        public void LookAt_North_East()
        {
            var lookWithOsm = new LookWithOsm(OverpassApiUrl);

            var objects = lookWithOsm.At(TestConstants.NEPoint, Geometry.ToRad(35)).ToArray();

            Assert.IsNotNull(objects);
            Assert.AreEqual(2, objects.Length);
        }