Example #1
0
        public void TestCompareTo1()
        {
            var a = new GlobalCoordinates(45, 9);
            var b = new GlobalCoordinates(45, 9);

            Assert.AreEqual(0, a.CompareTo(b));
        }
Example #2
0
        public void TestCompareTo5()
        {
            var a = new GlobalCoordinates(44, 9);
            var b = new GlobalCoordinates(45, 9);

            Assert.AreEqual(a.CompareTo(b), -1);
        }