Merge remote-tracking branch 'origin/idf-mobilite-net' into astar
# Conflicts: # src/test/java/fr/u_paris/gla/project/idfm/StopEntryTest.java
This commit is contained in:
commit
13324d0f74
1 changed files with 13 additions and 5 deletions
|
@ -7,14 +7,22 @@ public class StopEntryTest {
|
||||||
//Test de toString
|
//Test de toString
|
||||||
@Test
|
@Test
|
||||||
public void testToString() {
|
public void testToString() {
|
||||||
/*
|
StopEntry stop = new StopEntry("Chatelet", 2.346, 48.853);
|
||||||
StopEntry stop = new StopEntry("Chatelet", 2.3467, 48.8534);
|
|
||||||
// Mise à jour de la valeur attendue pour correspondre au formatage réel
|
// Mise à jour de la valeur attendue pour correspondre au formatage réel
|
||||||
String expected = "Chatelet [2.347, 48.853]";
|
String expected = "Chatelet [2.346, 48.853]";
|
||||||
assertEquals(expected, stop.toString());
|
assertEquals(expected, stop.toString());
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Si le le test testToString du haut ne marche pas essayer celui du bas
|
||||||
|
/*@Test
|
||||||
|
public void testToString() {
|
||||||
|
StopEntry stop = new StopEntry("Chatelet", 2.346, 48.853);
|
||||||
|
// Mise à jour de la valeur attendue pour correspondre au formatage réel
|
||||||
|
String expected = "Chatelet [2,346, 48,853]";
|
||||||
|
assertEquals(expected, stop.toString());
|
||||||
|
} */
|
||||||
|
|
||||||
|
|
||||||
//Test de compareTo
|
//Test de compareTo
|
||||||
@Test
|
@Test
|
||||||
public void testCompareTo() {
|
public void testCompareTo() {
|
||||||
|
|
Reference in a new issue