public void Difference_BoundsYieldsBoundsOfFirstChild() { var sphere = new Sphere().Translate(.25, .25, 1); var diff = sphere.Difference(new Cube()); Assert.AreEqual(sphere.Bounds(), diff.Bounds()); }
public void Difference_PositionYieldsPositionOfFirstChild() { var sphere = new Sphere().Translate(.25, .25, 1); var diff = sphere.Difference(new Cube()); Assert.AreEqual(sphere.Position(), diff.Position()); }