Exemple #1
0
        public void Test_Equals()
        {
            var bound  = new BoundingWorldExtent3D(0, 0, 100, 100);
            var bound2 = new BoundingWorldExtent3D(0, 0, 100, 100);
            var bound3 = new BoundingWorldExtent3D(0, 0, 101, 101);

            bound.Equals((object)bound2).Should().BeTrue();
            bound.Equals((object)bound3).Should().BeFalse();

            bound.Equals(bound2).Should().BeTrue();
            bound.Equals(bound3).Should().BeFalse();
        }