Beispiel #1
0
        public void TestEquals()
        {
            var a = new GlobalPosition(c1);

            Assert.IsFalse(a.Equals(null));
            object s = "x";

            Assert.IsFalse(a.Equals(s));
            var b = new GlobalPosition(c1);

            Assert.IsTrue(a.Equals(b));
            b.Elevation = b.Elevation + 1;
            Assert.IsFalse(a.Equals(b));
        }