MCPcopy
hub / github.com/nats-io/nats.go / TestStrings

Function TestStrings

bench/benchlib_test.go:75–80  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

73}
74
75func TestStrings(t *testing.T) {
76 s := millionMessagesSecondSample(60)
77 if len(s.String()) == 0 {
78 t.Fatal("Sample didn't provide a String")
79 }
80}
81
82func TestGroupDuration(t *testing.T) {
83 sg := NewSampleGroup()

Callers

nothing calls this directly

Calls 2

StringMethod · 0.45

Tested by

no test coverage detected