Skip to content

Commit

Permalink
Auto-generated commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Apr 5, 2024
1 parent ec2e0db commit 142a9b4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
[npm-image]: http://img.shields.io/npm/v/@stdlib/math-base-special-rad2deg.svg
[npm-url]: https://npmjs.org/package/@stdlib/math-base-special-rad2deg

[test-image]: https://github.com/stdlib-js/math-base-special-rad2deg/actions/workflows/test.yml/badge.svg?branch=v0.2.2
[test-url]: https://github.com/stdlib-js/math-base-special-rad2deg/actions/workflows/test.yml?query=branch:v0.2.2
[test-image]: https://github.com/stdlib-js/math-base-special-rad2deg/actions/workflows/test.yml/badge.svg?branch=main
[test-url]: https://github.com/stdlib-js/math-base-special-rad2deg/actions/workflows/test.yml?query=branch:main

[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/math-base-special-rad2deg/main.svg
[coverage-url]: https://codecov.io/github/stdlib-js/math-base-special-rad2deg?branch=main
Expand Down
4 changes: 2 additions & 2 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ tape( 'the function converts an angle from radians to degrees (canonical values)
t.equal( r, er, 'x: '+x[i]+'. r: '+r+'. expected: '+er+'.' );
} else {
delta = abs( r - er );
tol = abs( EPS * er );
tol = EPS * abs( er );
t.equal( delta <= tol, true, 'x: '+x[i]+'. r: '+r+'. expected: '+er+'. delta: '+delta+'. tol: '+ tol+'.' );
}
// Negative `x`:
Expand All @@ -140,7 +140,7 @@ tape( 'the function converts an angle from radians to degrees (canonical values)
t.equal( r, er, 'x: '+x[i]+'. r: '+r+'. expected: '+er+'.' );
} else {
delta = abs( r - er );
tol = abs( EPS * er );
tol = EPS * abs( er );
t.equal( delta <= tol, true, 'x: '+x[i]+'. r: '+r+'. expected: '+er+'. delta: '+delta+'. tol: '+ tol+'.' );
}
}
Expand Down
4 changes: 2 additions & 2 deletions test/test.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ tape( 'the function converts an angle from radians to degrees (canonical values)
t.equal( r, er, 'x: '+x[i]+'. r: '+r+'. expected: '+er+'.' );
} else {
delta = abs( r - er );
tol = abs( EPS * er );
tol = EPS * abs( er );
t.equal( delta <= tol, true, 'x: '+x[i]+'. r: '+r+'. expected: '+er+'. delta: '+delta+'. tol: '+ tol+'.' );
}
// Negative `x`:
Expand All @@ -149,7 +149,7 @@ tape( 'the function converts an angle from radians to degrees (canonical values)
t.equal( r, er, 'x: '+x[i]+'. r: '+r+'. expected: '+er+'.' );
} else {
delta = abs( r - er );
tol = abs( EPS * er );
tol = EPS * abs( er );
t.equal( delta <= tol, true, 'x: '+x[i]+'. r: '+r+'. expected: '+er+'. delta: '+delta+'. tol: '+ tol+'.' );
}
}
Expand Down

0 comments on commit 142a9b4

Please sign in to comment.