Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
aleclarson committed Jun 30, 2024
1 parent 0802173 commit 99729d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/number/tests/round.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ describe('round function', () => {
})

test('handles infinity and NaN', () => {
expect(_.round(Infinity)).toBe(Infinity)
expect(_.round(-Infinity)).toBe(-Infinity)
expect(_.round(NaN)).toBeNaN()
expect(_.round(Number.POSITIVE_INFINITY)).toBe(Number.POSITIVE_INFINITY)
expect(_.round(Number.NEGATIVE_INFINITY)).toBe(Number.NEGATIVE_INFINITY)
expect(_.round(Number.NaN)).toBeNaN()
})

test('handles extremely large numbers', () => {
Expand Down

0 comments on commit 99729d7

Please sign in to comment.