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
Copy file name to clipboardExpand all lines: tests/FSharp.Stats.Tests/SpecialFunctions.fs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -292,7 +292,7 @@ let factorialTests =
292
292
Expect.floatClose Accuracy.high (Factorial._factorialLn 6942)54467.727976695301612523565124699078303834231913072759124392135342"factorialLn of large number failed"
293
293
)
294
294
testCase "_ln(0!) = 0"(fun _ ->
295
-
Expect.equal(Factorial._factorialLn 0)0."Expected factorialLn of 0 to be 1."
295
+
Expect.floatClose Accuracy.high(Factorial._factorialLn 0)0."Expected factorialLn of 0 to be 1."
296
296
)
297
297
testCase "_ln(69!)"(fun _ ->
298
298
Expect.floatClose Accuracy.high 226.19054832372759333227016852232261788323276357495863628461257077(Factorial._factorialLn 69)"Expected factorialLn of 69 to be 226.19054832372759333227016852232261788323276357495863628461257077"
@@ -310,7 +310,7 @@ let factorialTests =
310
310
Expect.floatClose Accuracy.high (Factorial.factorialLn 6942)54467.727976695301612523565124699078303834231913072759124392135342"factorialLn of large number failed"
311
311
)
312
312
testCase "ln(0!) = 0"(fun _ ->
313
-
Expect.equal(Factorial.factorialLn 0)0."Expected factorialLn of 0 to be 1."
313
+
Expect.floatClose Accuracy.high(Factorial.factorialLn 0)0."Expected factorialLn of 0 to be 1."
314
314
)
315
315
testCase "ln(69!)"(fun _ ->
316
316
Expect.floatClose Accuracy.high 226.19054832372759333227016852232261788323276357495863628461257077(Factorial.factorialLn 69)"Expected factorialLn of 69 to be 226.19054832372759333227016852232261788323276357495863628461257077"
0 commit comments