MCPcopy Create free account
hub / github.com/Monibuca/engine / TestDts

Function TestDts

util/dtsestimator_test.go:7–17  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

5)
6
7func 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
19func Test往前跳(t *testing.T) {
20 t.Run(t.Name(), func(t *testing.T) {

Callers

nothing calls this directly

Calls 2

FeedMethod · 0.95
NewDTSEstimatorFunction · 0.85

Tested by

no test coverage detected