Compare commits

...

2 commits

Author SHA1 Message Date
Gasson-Betuing Danyl
f235455a18 Merge remote-tracking branch 'refs/remotes/origin/main' 2025-04-04 10:07:07 +02:00
Gasson-Betuing Danyl
1c915e6f16 TravelTime 2025-04-04 10:06:11 +02:00

View file

@ -216,7 +216,7 @@ public class Path {
*/
public double getTravelTime(double speed) {
// TODO:
return 0;
return getLength() * 3600.0 / (speed * 1000.0);
}
/**