Adjusted System Tests to new returns

bugfix_branch
selim 2024-06-16 05:29:59 +02:00
parent c0ac21148f
commit d3a7b96213
1 changed files with 3 additions and 3 deletions

View File

@ -43,8 +43,8 @@ public class SystemTest {
current_system.sign_in_user("David", "123Esel");
assertEquals("88.46 km", current_system.distance("60306")); // Frankfurt
assertEquals("581.109 km", current_system.distance("20095")); // Hamburg
assertEquals("603.608 km", current_system.distance("10115")); // Berlin
assertEquals("581.11 km", current_system.distance("20095")); // Hamburg
assertEquals("603.61 km", current_system.distance("10115")); // Berlin
}
@ -53,7 +53,7 @@ public class SystemTest {
current_system.sign_in_user("David", "123Esel");
assertEquals("0.89 h", current_system.travel_time("60306")[0]); // Frankfurt mit Auto
assertEquals("0.88 h", current_system.travel_time("60306")[0]); // Frankfurt mit Auto
assertEquals("4.42 h", current_system.travel_time("60306")[1]); // Frankfurt mit Fahrrad
assertEquals("6.04 h", current_system.travel_time("10115")[0]); // Berlin mit Auto