intimate/tasks/openrec/openrec_task1/task_openrec_test.go
eson 9d7c2e1e54 1.修改build.sh
2.删除hunter包引用和使用
2020-08-17 14:38:00 +08:00

17 lines
231 B
Go

package main
import (
"testing"
"time"
)
func TestTimeAdd(t *testing.T) {
finishpoint := time.Now()
time.Sleep(time.Second * 2)
t.Error(time.Now().Sub(finishpoint) > time.Second*1)
}
func TestMain(t *testing.T) {
main()
}