Skip to content
Snippets Groups Projects
Commit d3afedbf authored by noapo's avatar noapo
Browse files

correction test

parent 1539cc05
No related branches found
No related tags found
No related merge requests found
Pipeline #10482 passed
......@@ -28,7 +28,7 @@ public class Sphere {
// Methods
// ***********************************************************************
public double computeVolume() {
return 4 * Math.PI * Math.pow(radius_, 2) / 2;
return 4 * Math.PI * Math.pow(radius_, 3) / 3;
}
public double distanceTo(Sphere other) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment