1
0
mirror of https://github.com/duke-git/lancet.git synced 2026-02-09 07:02:29 +08:00

feat: add watcher for record code excution time

This commit is contained in:
dudaodong
2022-01-01 19:56:15 +08:00
parent ed4acc1c67
commit d4f49af2ad
3 changed files with 63 additions and 0 deletions

View File

@@ -563,6 +563,7 @@ func TestWithout(t *testing.T) {
func TestShuffle(t *testing.T) {
s := []int{1, 2, 3, 4, 5}
res := Shuffle(s)
t.Log("Shuffle result: ", res)
if reflect.TypeOf(s) != reflect.TypeOf(res) {
internal.LogFailedTestInfo(t, "Shuffle", s, res, res)