mirror of
https://github.com/krahets/hello-algo.git
synced 2024-12-25 01:56:30 +08:00
Compare commits
2 commits
a77a9233c9
...
b61fcb97e9
Author | SHA1 | Date | |
---|---|---|---|
|
b61fcb97e9 | ||
|
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