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 cd061cc commit 6ac0d61Copy full SHA for 6ac0d61
1 file changed
Maths/test/FareyApproximation.test.js
@@ -1,13 +1,13 @@
1
-import { fareyApproximation } from "../FareyApproximation"
+import { fareyApproximation } from '../FareyApproximation'
2
3
describe('fareyApproximation', () => {
4
it('Return Farey Approximation of 0.7538385', () => {
5
const approx = fareyApproximation(0.7538385)
6
expect(approx).toBe({ numerator: 22, denominator: 29 })
7
})
8
-
+
9
it('Return Farey Approximation of 0.23584936', () => {
10
const approx = fareyApproximation(0.23584936)
11
- expet(approx).toBe({ numerator: 13, denominator: 55 })
+ expect(approx).toBe({ numerator: 13, denominator: 55 })
12
13
0 commit comments