(t *testing.T)
| 32 | } |
| 33 | |
| 34 | func TestSetTimeNegative(t *testing.T) { |
| 35 | tx := &unix.Timex{} |
| 36 | setTime(tx, -1*time.Second, -500*time.Nanosecond) |
| 37 | require.Equal(t, int64(-1*time.Second), tx.Time.Sec) |
| 38 | require.Equal(t, int64(-500*time.Nanosecond), tx.Time.Usec) |
| 39 | } |
| 40 | |
| 41 | func TestFrequencyPPB(t *testing.T) { |
| 42 | tx := &unix.Timex{} |
nothing calls this directly
no test coverage detected
searching dependent graphs…