Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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`.
- Loading branch information