Skip to content

Conversation

LibraChris
Copy link
Contributor

Description
Partial update for Tests to support generic type 'T data.

  • Update Special function Gamma to support generic type 'T
  • Update Special function Beta to support generic type 'T
  • Update TestStatistics to handle basic 'T inputs

[Required] please make sure you checked that

  • [ x] The project builds without problems on your machine

)
testCase "_ln(0!) = 0" (fun _ ->
Expect.equal (Factorial._factorialLn 0) 0. "Expected factorialLn of 0 to be 1."
Expect.floatClose Accuracy.high (Factorial._factorialLn 0) 0. "Expected factorialLn of 0 to be 1."
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this change necessary? Is it just to align with other tests or is ln(0!) <> 0?

@bvenn bvenn mentioned this pull request Aug 11, 2025
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants