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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!