Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d41b6aa commit e5b7e56Copy full SHA for e5b7e56
1 file changed
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