test: Fix StopEntryTest

This commit is contained in:
Mylloon 2024-03-25 17:44:45 +01:00
parent fdca89a869
commit 201d3cc54c
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -5,11 +5,11 @@ import static org.junit.jupiter.api.Assertions.*;
public class StopEntryTest {
//Test de toString
@Test
@Test
public void testToString() {
StopEntry stop = new StopEntry("Chatelet", 2.3467, 48.8534);
// Mise à jour de la valeur attendue pour correspondre au formatage réel
String expected = "Chatelet [2.347, 48.853]";
String expected = "Chatelet [2,347, 48,853]";
assertEquals(expected, stop.toString());
}