mirror of
https://github.com/krahets/hello-algo.git
synced 2024-12-24 09:26:28 +08:00
Compare commits
2 commits
238208ccf2
...
8f4c34507a
Author | SHA1 | Date | |
---|---|---|---|
|
8f4c34507a | ||
|
292b107af2 |
2 changed files with 2 additions and 2 deletions
|
@ -16,5 +16,5 @@ func TestBubbleSort(t *testing.T) {
|
||||||
|
|
||||||
nums1 := []int{4, 1, 3, 1, 5, 2}
|
nums1 := []int{4, 1, 3, 1, 5, 2}
|
||||||
bubbleSortWithFlag(nums1)
|
bubbleSortWithFlag(nums1)
|
||||||
fmt.Println("冒泡排序完成后 nums1 = ", nums)
|
fmt.Println("冒泡排序完成后 nums1 = ", nums1)
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,5 +16,5 @@ func TestBubbleSort(t *testing.T) {
|
||||||
|
|
||||||
nums1 := []int{4, 1, 3, 1, 5, 2}
|
nums1 := []int{4, 1, 3, 1, 5, 2}
|
||||||
bubbleSortWithFlag(nums1)
|
bubbleSortWithFlag(nums1)
|
||||||
fmt.Println("泡沫排序完成後 nums1 = ", nums)
|
fmt.Println("泡沫排序完成後 nums1 = ", nums1)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue