From d3a7b96213706ea85bd9f5f1d07026e6a19c56ba Mon Sep 17 00:00:00 2001 From: selim Date: Sun, 16 Jun 2024 05:29:59 +0200 Subject: [PATCH] Adjusted System Tests to new returns --- src/test/java/de/hs_mannheim/domain/SystemTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/java/de/hs_mannheim/domain/SystemTest.java b/src/test/java/de/hs_mannheim/domain/SystemTest.java index 9b8fc34..2048ec5 100644 --- a/src/test/java/de/hs_mannheim/domain/SystemTest.java +++ b/src/test/java/de/hs_mannheim/domain/SystemTest.java @@ -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