You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gojobs/jobs_test.go

19 lines
355 B

2 years ago
package gojobs
2 years ago
import "testing"
2 years ago
2 years ago
func TestSpec(t *testing.T) {
t.Log(GetSpecSeconds(10))
t.Log(GetFrequencySeconds(10))
2 years ago
2 years ago
t.Log(GetSpecMinutes(1))
t.Log(GetFrequencyMinutes(1))
t.Log(GetSpecMinutes(10))
t.Log(GetFrequencyMinutes(10))
t.Log(GetSpecMinutes(30))
t.Log(GetFrequencyMinutes(30))
2 years ago
2 years ago
t.Log(GetSpecHour(10))
t.Log(GetFrequencyHour(10))
2 years ago
}