MCPcopy Create free account
hub / github.com/facebook/time / mustEncodeAll

Function mustEncodeAll

rtcm/msm_encode_test.go:292–298  ·  view source on GitHub ↗
(t *testing.T, obs []RawxObservation)

Source from the content-addressed store, hash-verified

290 }
291 a, err := EncodeMSM7(1, GnssGPS, 200000000, obs)
292 require.NoError(t, err)
293 b, err := EncodeMSM7(1, GnssGPS, 200000000, obs)
294 require.NoError(t, err)
295 require.Equal(t, a, b, "encoding is deterministic")
296}
297
298func mustEncode(t *testing.T, obs RawxObservation) []byte {
299 t.Helper()
300 frame, err := EncodeMSM7(1, GnssGPS, 100000, []RawxObservation{obs})
301 require.NoError(t, err)

Callers 1

Calls 1

EncodeMSM7Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…