예제 #1
0
        public void Hull_BasisObjectAppearsInHullChildren()
        {
            var cube = new Cube();
            var sphere = new Sphere().Translate(0, 0, 2);
            var hull = cube.Hull(sphere);

            var children = hull.Children();

            Assert.IsTrue(children.Contains(cube));
            Assert.IsTrue(children.Contains(sphere));
        }