go_dreamfactory/modules/parkour/parkour_test.go
2023-04-21 16:54:26 +08:00

19 lines
247 B
Go

package parkour_test
import (
"fmt"
"testing"
"time"
)
func Test_Time(t *testing.T) {
currt := time.Now().Format("15:04")
fmt.Printf(currt)
if currt > "13:10" && currt < "16:30" {
fmt.Printf("true")
} else {
fmt.Printf("false")
}
}