We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d41b6aa commit e5b7e56Copy full SHA for e5b7e56
Maths/test/FareyApproximation.test.js
@@ -3,11 +3,11 @@ import { fareyApproximation } from '../FareyApproximation'
3
describe('fareyApproximation', () => {
4
it('Return Farey Approximation of 0.7538385', () => {
5
const approx = fareyApproximation(0.7538385)
6
- expect(approx).toBe({ numerator: 52, denominator: 69 })
+ expect(approx).toStrictEqual({ numerator: 52, denominator: 69 })
7
})
8
9
it('Return Farey Approximation of 0.23584936', () => {
10
const approx = fareyApproximation(0.23584936)
11
- expect(approx).toBe({ numerator: 196, denominator: 831 })
+ expect(approx).toStrictEqual({ numerator: 196, denominator: 831 })
12
13
0 commit comments