public void Polyhedron_Centroid_RectangularBox() { TestRectangularBox1 testBox = new TestRectangularBox1(); Point centroid = ((Polyhedron) testBox).Centroid; centroid.Should().Be(testBox.Centroid); }
public void Polyhedron_IsConvex_RectangularBox() { Polyhedron testBox = new TestRectangularBox1(); testBox.IsConvex.Should().BeTrue(); }
public void Polyhedron_Volume_RectangularBox() { TestRectangularBox1 testBox = new TestRectangularBox1(); Volume volume = ((Polyhedron) testBox).Volume; volume.Should().Be(testBox.Volume); }