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

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