feat: add round
function
#10
Annotations
10 errors
src/number/tests/round.test.ts#L13
AssertionError: expected 1 to be 1.01 // Object.is equality
- Expected
+ Received
- 1.01
+ 1
❯ src/number/tests/round.test.ts:13:31
|
src/number/tests/round.test.ts#L57
AssertionError: expected [ 10, Infinity, Infinity, …(13) ] to deeply equal [ 10, 100, 1000, 10000, 100000, …(11) ]
- Expected
+ Received
Array [
10,
- 100,
- 1000,
- 10000,
- 100000,
- 1000000,
- 10000000,
- 100000000,
- 1000000000,
- 10000000000,
- 100000000000,
- 1000000000000,
- 10000000000000,
- 100000000000000,
- 1000000000000000,
- 10000000000000000,
+ Infinity,
+ Infinity,
+ Infinity,
+ Infinity,
+ Infinity,
+ Infinity,
+ Infinity,
+ Infinity,
+ Infinity,
+ Infinity,
+ Infinity,
+ Infinity,
+ Infinity,
+ Infinity,
+ Infinity,
]
❯ src/number/tests/round.test.ts:57:20
|
src/number/tests/round.test.ts#L165
AssertionError: expected -0 to be +0 // Object.is equality
- Expected
+ Received
- 0
+ -0
❯ src/number/tests/round.test.ts:165:54
|
src/number/tests/round.test.ts#L84
AssertionError: expected 4 to be 5 // Object.is equality
- Expected
+ Received
- 5
+ 4
❯ src/number/tests/round.test.ts:84:24
|
src/number/tests/round.test.ts#L89
AssertionError: expected 4 to be 5 // Object.is equality
- Expected
+ Received
- 5
+ 4
❯ src/number/tests/round.test.ts:89:24
|
src/number/tests/round.test.ts#L165
AssertionError: expected -0 to be +0 // Object.is equality
- Expected
+ Received
- 0
+ -0
❯ src/number/tests/round.test.ts:165:54
|
src/number/tests/round.test.ts#L94
AssertionError: expected 4.02 to be 4.01 // Object.is equality
- Expected
+ Received
- 4.01
+ 4.02
❯ src/number/tests/round.test.ts:94:24
|
src/number/tests/round.test.ts#L102
AssertionError: expected 4200 to be 4100 // Object.is equality
- Expected
+ Received
- 4100
+ 4200
❯ src/number/tests/round.test.ts:102:24
|
src/number/tests/round.test.ts#L165
AssertionError: expected -0 to be -Infinity // Object.is equality
- Expected
+ Received
- -Infinity
+ -0
❯ src/number/tests/round.test.ts:165:54
|
|
The logs for this run have expired and are no longer available.
Loading