(t *testing.T)
| 5 | ) |
| 6 | |
| 7 | func TestDts(t *testing.T) { |
| 8 | t.Run(t.Name(), func(t *testing.T) { |
| 9 | dtsg := NewDTSEstimator() |
| 10 | var pts uint32 = 0xFFFFFFFF - 5 |
| 11 | for i := 0; i < 10; i++ { |
| 12 | dts := dtsg.Feed(pts) |
| 13 | pts++ |
| 14 | t.Logf("dts=%d", dts) |
| 15 | } |
| 16 | }) |
| 17 | } |
| 18 | |
| 19 | func Test往前跳(t *testing.T) { |
| 20 | t.Run(t.Name(), func(t *testing.T) { |
nothing calls this directly
no test coverage detected