Update AverageMedian.js and AverageMedian.test.js

This commit is contained in:
qingwen23
2021-07-19 13:34:38 +08:00
parent 04b71c337a
commit 937b472dfa
2 changed files with 16 additions and 16 deletions

View File

@ -16,6 +16,6 @@ test('should return the median of an array of numbers:', () => {
})
test('should return the median of an array of numbers:', () => {
const medianValue = averageMedian([1,2,3,4,6,8])
const medianValue = averageMedian([1, 2, 3, 4, 6, 8])
expect(medianValue).toBe(3.5)
})
})