mirror of https://github.com/boa-dev/boa.git
Browse Source
* Added approx_eq! macro for expm1 tests. Added approx_eq! macro for expm1 tests due to floating point arithmetic inaccuracies, using default ULP & epsilon values. approx_eq! macro does not work for NaN values, however, for tests this should be okay anyway! Solves #664. * Modified Cargo.toml to remove unneeded feature. Removed std feature as was unused in test. * Moves `float-cmp` to Dev Dependencies Refactors tan() unit test, previously unused, to use approx_eq!() macro for assertion to pass on CI. * Fixes cargo fmt errorspull/671/head
neeldug
4 years ago
committed by
GitHub
3 changed files with 46 additions and 17 deletions
Loading…
Reference in new issue