|
|
@ -13,13 +13,6 @@ void t.test('reorderElements', (t) => { |
|
|
|
); |
|
|
|
); |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
checkReordering(0, -1, 'bcde'); |
|
|
|
|
|
|
|
checkReordering(1, -1, 'acde'); |
|
|
|
|
|
|
|
checkReordering(2, -1, 'abde'); |
|
|
|
|
|
|
|
checkReordering(3, -1, 'abce'); |
|
|
|
|
|
|
|
checkReordering(4, -1, 'abcd'); |
|
|
|
|
|
|
|
checkReordering(5, -1, 'abcde'); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
checkReordering(0, 0, 'abcde'); |
|
|
|
checkReordering(0, 0, 'abcde'); |
|
|
|
checkReordering(0, 1, 'bacde'); |
|
|
|
checkReordering(0, 1, 'bacde'); |
|
|
|
checkReordering(0, 2, 'bcade'); |
|
|
|
checkReordering(0, 2, 'bcade'); |
|
|
|