Test Geometry¶
-
class
padvinder.test.test_geometry.
TestGeometry
(methodName='runTest')[source]¶ Bases:
unittest.case.TestCase
-
test_default_construction
()[source]¶ Test if the geometry is constructed with the expected default parameters.
-
-
class
padvinder.test.test_geometry.
TestSphere
(methodName='runTest')[source]¶ Bases:
unittest.case.TestCase
-
test_default_construction
()[source]¶ Test if the sphere is constructed correctly with non-default parameters.
-
-
class
padvinder.test.test_geometry.
TestPlane
(material=Material(color=[0.5 0.5 0.5]))[source]¶ Bases:
padvinder.geometry.Geometry
-
test_default_construction
()[source]¶ Test if the plane is constructed correctly with non-default parameters.
-