Question: question 1 Create two files Geometry3DTest.java and Geometry3D.java and commit them to the repository. a) Add a unit test for calculating the volume of a
question 1
Create two files Geometry3DTest.java and Geometry3D.java and commit them to the repository.
a) Add a unit test for calculating the volume of a cuboid and add the appropriate implementation.
Add a unit test for calculating the surface area of a cuboid and add the appropriate implementation.
b) Add a unit test for calculating the volume of a square based pyramid and add the appropriate implementation.
Add a unit test for calculating the surface area of a square based pyramid and add the appropriate implementation.
C) Add a unit test for calculating the volume of a tetrahedron and add the appropriate implementation
Add a unit test for calculating the surface area of a tetrahedron and add the appropriate implementation.
language java
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
