mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-10-16 15:07:59 +08:00
15 lines
211 B
Go
15 lines
211 B
Go
package esxi
|
|
|
|
import "testing"
|
|
|
|
func TestReverseArray(t *testing.T) {
|
|
a := []int{1, 2, 3, 4, 5}
|
|
|
|
reverseArray(a)
|
|
t.Logf("%#v", a)
|
|
|
|
b := []string{"1", "2", "3", "4", "5"}
|
|
reverseArray(b)
|
|
t.Logf("%#v", b)
|
|
}
|