mirror of
https://github.com/krahets/hello-algo.git
synced 2024-12-24 02:56:29 +08:00
Compare commits
2 commits
976d83fb59
...
9b83d2ba7a
Author | SHA1 | Date | |
---|---|---|---|
|
9b83d2ba7a | ||
|
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