示例#1
0
        public void Test_Fence()
        {
            var fence = new Fence();

            fence.Points.Add(new FencePoint(0, 0));
            fence.Points.Add(new FencePoint(0, 10));
            fence.Points.Add(new FencePoint(10, 10));
            fence.Points.Add(new FencePoint(10, 0));
            fence.UpdateExtents();

            SimpleBinarizableInstanceTester.TestExtension(fence, "Fence with points not same after round trip serialisation");
        }
示例#2
0
 public void Test_FromTo_BoundingWorldExtent3D_Simple()
 {
     SimpleBinarizableInstanceTester.TestExtension <BoundingWorldExtent3D>();
 }
示例#3
0
 public void Test_FromTo_BoundingWorldExtent3D_Full3DExtent()
 {
     SimpleBinarizableInstanceTester.TestExtension <BoundingWorldExtent3D>(new BoundingWorldExtent3D(0, 1, 100, 101, 200, 201),
                                                                           "Bounding world 3D with full 3D extent not same after round trip serialization");
 }
示例#4
0
 public void Test_Fence_Simple()
 {
     SimpleBinarizableInstanceTester.TestExtension <Fence>("Empty fence not same after round trip serialisation");
 }