MCPcopy Create free account
hub / github.com/pion/ice / TestString

Function TestString

role_test.go:59–63  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

57}
58
59func TestString(t *testing.T) {
60 require.Equal(t, "controlling", Controlling.String())
61 require.Equal(t, "controlled", Controlled.String())
62 require.Equal(t, "unknown", Role(255).String())
63}

Callers

nothing calls this directly

Calls 3

RoleTypeAlias · 0.85
EqualMethod · 0.65
StringMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…