public void Polyhedron_Centroid_ConcavePentagonalPrism() { TestConcavePentagonalPrism testSolid = new TestConcavePentagonalPrism(); Point centroid = ((Polyhedron) testSolid).Centroid; centroid.Should().Be(testSolid.Centroid); }
public void Polyhedron_IsConvex_ConcavePentagonalPrism() { Polyhedron testSolid = new TestConcavePentagonalPrism(); testSolid.IsConvex.Should().BeFalse(); }
public void Polyhedron_Volume_ConcavePentagonalPrism() { TestConcavePentagonalPrism testSolid = new TestConcavePentagonalPrism(); Volume volume = ((Polyhedron) testSolid).Volume; volume.Should().Be(testSolid.Volume); }