feat: speed violence and momentumn are happening
This commit is contained in:
parent
b6bc2a63b1
commit
44bdb7177f
15 changed files with 248 additions and 18 deletions
10
src/__tests__/BubbleSort.ts
Normal file
10
src/__tests__/BubbleSort.ts
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import bubble_sort from "@code/BubbleSort";
|
||||
|
||||
test("bubble-sort", function () {
|
||||
const arr = [9, 3, 7, 4, 69, 420, 42];
|
||||
|
||||
debugger;
|
||||
bubble_sort(arr);
|
||||
expect(arr).toEqual([3, 4, 7, 9, 42, 69, 420]);
|
||||
});
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue