-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstarttime_test.go
More file actions
42 lines (35 loc) · 1.05 KB
/
starttime_test.go
File metadata and controls
42 lines (35 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package timezone
import (
"github.com/stretchr/testify/assert"
"testing"
)
func TestStartDaySecond(t *testing.T) {
startDaySecond := StartDaySecond(-1)
t.Logf("startDaySecond: %v", startDaySecond)
assert.NotEmpty(t, startDaySecond)
}
func TestStartDayMicro(t *testing.T) {
startDayMicro := StartDayMicro(-2)
t.Logf("startDayMicro: %v", startDayMicro)
assert.NotEmpty(t, startDayMicro)
}
func TestStartMonthSecond(t *testing.T) {
startMonthSecond := StartMonthSecond(-1)
t.Logf("startMonthSecond: %v", startMonthSecond)
assert.NotEmpty(t, startMonthSecond)
}
func TestStartMonthMicro(t *testing.T) {
startMonthMicro := StartMonthMicro(-2)
t.Logf("startMonthMicro: %v", startMonthMicro)
assert.NotEmpty(t, startMonthMicro)
}
func TestStartYearSecond(t *testing.T) {
startYearSecond := StartYearSecond(-1)
t.Logf("startYearSecond: %v", startYearSecond)
assert.NotEmpty(t, startYearSecond)
}
func TestStartYearMicro(t *testing.T) {
startYearMicro := StartYearMicro(-2)
t.Logf("startYearMicro: %v", startYearMicro)
assert.NotEmpty(t, startYearMicro)
}