You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
, test "simulation is playing, no historic recall"
18
22
(\_ ->
19
-
computeNextPos case2
20
-
|>Expect.equal ({ rx =1, ry =1.725, vx =1, vy =-1.488, x =10.033333333333333, y =9.9504},[{ rx =1, ry =1, vx =1, vy =1, x =9, y =11},{ rx =1, ry =1.725, vx =1, vy =-1.488, x =10.033333333333333, y =9.9504}],2)
23
+
computeNextPos case2 dt
24
+
|>Expect.equal ({ rx =1, ry =1.725, vx =1, vy =-1.4292, x =10.03, y =9.957124},[{ rx =1, ry =1, vx =1, vy =1, x =9, y =11},{ rx =1, ry =1.725, vx =1, vy =-1.4292, x =10.03, y =9.957124}],2)
21
25
)
22
26
, test "simulation is playing, but via historic recall"
23
27
(\_ ->
24
-
computeNextPos case3
28
+
computeNextPos case3 dt
25
29
|>Expect.equal ({ rx =1, ry =1, vx =1, vy =1, x =9, y =11},[{ rx =1, ry =1, vx =1, vy =1, x =9, y =11}],1)
0 commit comments