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
Adds tests for Type Stability of FD functions. (#48)
* Adds tests for Type Stability of FD functions.
Test that most of the API functions for FixedDecimals are type stable in
their return type, using the `@inferred` test macro.
Tests this for all built-in integer types, across many precisions.
(Adds around 10 seconds to test time.)
* Improve instability tests of return type: === && isa
Make all the inferred tests actually test the return type is the correct
type by comparing `===` instead of `==`.
Make the unary test `@inferred(typemax(FD{T,f}))` test that the return
type is the correct type via `isa`.
0 commit comments