Skip to content

Commit

Permalink
test: updated incorrect unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
ClancyWalters authored and missinglink committed Mar 20, 2024
1 parent 8f6596d commit e6f532b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/unit/sanitizer/wrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ module.exports.tests.latitude_negative = function(test, common) {
t.equal(norm.lon, 0);
t.end();
});
test('positive latitude wrapping - 721 degrees', function (t) {
var norm = wrap(721, 0);
t.equal(norm.lat, 1);
test('negative latitude wrapping - 721 degrees', function (t) {
var norm = wrap(-721, 0);
t.equal(norm.lat, -1);
t.equal(norm.lon, 0);
t.end();
});
Expand Down

0 comments on commit e6f532b

Please sign in to comment.