mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Re-gyb sorting (#9818)
This commit is contained in:
@@ -229,7 +229,7 @@ Algorithm.test("sort3/simple")
|
||||
[1, 2, 3], [1, 3, 2], [2, 1, 3], [2, 3, 1], [3, 1, 2], [3, 2, 1]
|
||||
]) {
|
||||
var input = $0
|
||||
_sort3(&input, 0, 1, 2, by: <)
|
||||
_sort3(&input, 0, 1, 2)
|
||||
expectEqual([1, 2, 3], input)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user