public void TestComparableCell_OnePoint()
 {
     cellList = new FakeComparableCell[1];
     IGeoPoint<double> p = new StubGeoPoint(112, 22);
     IOutdoorCell c = new StubOutdoorCell(112.001, 22.001, 60);
     cellList[0] = FakeComparableCell.Parse(new ComparableCell(p, c));
     double dist = p.SimpleDistance(new StubGeoPoint(c.Longtitute, c.Lattitute));
     Assert.AreEqual(cellList[0].Distance, dist, 1E-6);
     Assert.AreEqual(cellList[0].AzimuthAngle, 165, 1E-6);
 }
        public void TestComparableCell_OnePoint()
        {
            cellList = new FakeComparableCell[1];
            IGeoPoint <double> p = new StubGeoPoint(112, 22);
            IOutdoorCell       c = new StubOutdoorCell(112.001, 22.001, 60);

            cellList[0] = FakeComparableCell.Parse(new ComparableCell(p, c));
            double dist = p.SimpleDistance(new StubGeoPoint(c.Longtitute, c.Lattitute));

            Assert.AreEqual(cellList[0].Distance, dist, 1E-6);
            Assert.AreEqual(cellList[0].AzimuthAngle, 165, 1E-6);
        }