mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-07 11:08:54 +08:00
style: update style
This commit is contained in:
@ -1,4 +1,4 @@
|
|||||||
import { fareyApproximation } from "../FareyApproximation"
|
import { fareyApproximation } from '../FareyApproximation'
|
||||||
|
|
||||||
describe('fareyApproximation', () => {
|
describe('fareyApproximation', () => {
|
||||||
it('Return Farey Approximation of 0.7538385', () => {
|
it('Return Farey Approximation of 0.7538385', () => {
|
||||||
@ -8,6 +8,6 @@ describe('fareyApproximation', () => {
|
|||||||
|
|
||||||
it('Return Farey Approximation of 0.23584936', () => {
|
it('Return Farey Approximation of 0.23584936', () => {
|
||||||
const approx = fareyApproximation(0.23584936)
|
const approx = fareyApproximation(0.23584936)
|
||||||
expet(approx).toBe({ numerator: 13, denominator: 55 })
|
expect(approx).toBe({ numerator: 13, denominator: 55 })
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user