test: Fix StopEntryTest
This commit is contained in:
parent
fdca89a869
commit
201d3cc54c
1 changed files with 3 additions and 3 deletions
|
@ -5,13 +5,13 @@ 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());
|
||||
}
|
||||
}
|
||||
|
||||
//Test de compareTo
|
||||
@Test
|
||||
|
|
Reference in a new issue