diff --git a/internal/cms/hostile_test.go b/internal/cms/hostile_test.go index 41e35a6..af515e6 100644 --- a/internal/cms/hostile_test.go +++ b/internal/cms/hostile_test.go @@ -69,6 +69,7 @@ func TestTSTInfoStrict(t *testing.T) { "only micros": {[][]byte{cmstest.Seq(us(7))}, 7 * time.Microsecond}, "millis and micros of 999": {[][]byte{cmstest.Seq(ms(0x03, 0xe7), us(0x03, 0xe7))}, 999*time.Millisecond + 999*time.Microsecond}, "millis of 128": {[][]byte{cmstest.Seq(ms(0, 0x80))}, 128 * time.Millisecond}, + "millis of 300": {[][]byte{cmstest.Seq(ms(0x01, 0x2c))}, 300 * time.Millisecond}, "seconds, millis and micros": {[][]byte{cmstest.Seq(cmstest.Int(1), ms(5), us(7))}, time.Second + 5*time.Millisecond + 7*time.Microsecond}, "2^31 - 1 seconds": {[][]byte{cmstest.Seq(cmstest.Int(1<<31 - 1))}, (1<<31 - 1) * time.Second}, "ordering TRUE": {[][]byte{cmstest.Bool(true)}, 0},