19 lines
247 B
Go
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")
|
|
}
|
|
|
|
}
|