From 594b42d462d906ee22c1649fe42034194bb5f3aa Mon Sep 17 00:00:00 2001
From: Maxence <maxence.antoine.etu@univ-lille.fr>
Date: Thu, 24 Oct 2024 11:37:42 +0200
Subject: [PATCH] =?UTF-8?q?Modification=20Iristest=20apr=C3=A8s=20changeme?=
 =?UTF-8?q?nt=20sur=20Iris?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../fr/univlille/sae/classification/model/IrisTest.java   | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/src/test/java/fr/univlille/sae/classification/model/IrisTest.java b/src/test/java/fr/univlille/sae/classification/model/IrisTest.java
index 9ca8f9f..e0873a5 100644
--- a/src/test/java/fr/univlille/sae/classification/model/IrisTest.java
+++ b/src/test/java/fr/univlille/sae/classification/model/IrisTest.java
@@ -7,7 +7,7 @@ import static org.junit.jupiter.api.Assertions.*;
 
 class IrisTest {
 
-    Iris iris = new Iris(3.0, 2.8, 4.1, 1.9, "Setosa");
+    Iris iris = new Iris(2.8, 3.0, 1.9, 4.1, "Setosa");
 
     @Test
     void getSepalWidth() {
@@ -29,10 +29,6 @@ class IrisTest {
         assertEquals(1.9, iris.getPetalLength());
     }
 
-    @Test
-    void getVariety() {
-        assertEquals("Setosa", iris.getVariety());
-    }
 
     @Test
     void getDataType() {
@@ -49,6 +45,6 @@ class IrisTest {
 
     @Test
     void testToString() {
-        assertEquals("Iris{sepalWidth=3.0, sepalLength=2.8, petalWidth=4.1, petalLength=1.9}", iris.toString());
+        assertEquals("Iris{sepalLength=2.8, sepalWidth=3.0, petalLength=1.9, petalWidth=4.1}", iris.toString());
     }
 }
\ No newline at end of file
-- 
GitLab