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 360c447 commit d28ae8bCopy full SHA for d28ae8b
1 file changed
Sorts/test/BubbleSort.test.js
@@ -7,6 +7,13 @@ describe('bubbleSort', () => {
7
expect(bubbleSort([1, 2, 3])).toEqual([1, 2, 3])
8
expect(bubbleSort([5, 6, 7, 8, 1, 2, 12, 14])).toEqual([1, 2, 5, 6, 7, 8, 12, 14])
9
expect(bubbleSort([5, 6, 7, 8, 9, 4])).toEqual([4, 5, 6, 7, 8, 9])
10
+ expect(bubbleSort([20, 30, 40])).toEqual([20, 30, 40])
11
+ expect(bubbleSort([2, 1, 3])).toEqual([1, 2, 3])
12
+ expect(bubbleSort([10, 15, 16, 100])).toEqual([10, 15, 16, 100])
13
+ expect(bubbleSort([10, 9, 11])).toEqual([9, 10, 11])
14
+ expect(bubbleSort([10, 9, 12])).toEqual([9, 10, 12])
15
+ expect(bubbleSort([3, 2, 1])).toEqual([1, 2, 3])
16
+ expect(bubbleSort([10, 9, 8])).toEqual([8, 9, 10])
17
})
18
19
0 commit comments