From 80c0131a610c1a4db3423c08916a781f03067a1f Mon Sep 17 00:00:00 2001 From: Noah Mandler <Noah@noah.com> Date: Tue, 24 Jan 2023 14:52:47 +0100 Subject: [PATCH] Correction des tests --- src/main/java/fr/nancy/iut/Sphere.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/fr/nancy/iut/Sphere.java b/src/main/java/fr/nancy/iut/Sphere.java index 164a556..8aea1c1 100644 --- a/src/main/java/fr/nancy/iut/Sphere.java +++ b/src/main/java/fr/nancy/iut/Sphere.java @@ -28,7 +28,7 @@ public class Sphere { // Methods // *********************************************************************** public double computeVolume() { - return 4 * Math.PI * Math.pow(radius_, 2) / 3; + return 4 * Math.PI * Math.pow(radius_, 3) / 3; } public double distanceTo(Sphere other) { -- GitLab