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
@kMutagene
Copy link
Member

@LibraChris is this still relevant for #352 ? Can you rebase this to target the datascience branch?

@kMutagene kMutagene changed the base branch from numerics to datascience October 20, 2025 08:37
@LibraChris LibraChris force-pushed the updateTestStatistics branch from 5105948 to f6be840 Compare October 20, 2025 09:02
@LibraChris LibraChris force-pushed the updateTestStatistics branch from 3048f31 to 77ba43e Compare October 21, 2025 07:55
@kMutagene kMutagene merged commit caa7215 into fslaborg:datascience Oct 21, 2025
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.

3 participants