Documentation
¶
Index ¶
- Variables
- func BuildRandom(count int, maxlen int) []str.String[byte]
- func BuildRandomP(count, maxlen, pCount, pMaxLen, pMaxCount int) []str.String[byte]
- func BuildSingleRandom(prefix []byte, maxlen int, set *map[string]struct{}) str.String[byte]
- func FromStrings(s ...string) []str.String[byte]
- func RandomBench(b *testing.B, count, maxlen int)
- func RandomBenchP(t *testing.T, count, maxlen, pCount, pMaxlen, pMaxCount int)
- func RandomCompileBench(b *testing.B, maxlen int)
- func RandomTest(t *testing.T, count, maxlen int)
- func RandomTestName(operation string, count, maxlen int) string
- func RandomTestP(t *testing.T, count, maxlen, pCount, pMaxlen, pMaxCount int)
- func Test(t *testing.T, name string, slice slice.Slice[byte])
- func TestSlice[T testing.TB](slice slice.Slice[byte], trackCollisions bool, roundtrip bool) func(t T)
Constants ¶
This section is empty.
Variables ¶
View Source
var KlipperJSONPaths = FromStrings(
"display_status.message",
"display_status.progress",
"extruder.?\\ufffd\\ufffd\\u001c؆\\ufffd\\ufffd\\ufffd",
)
View Source
var Simple = FromStrings(
"prefix1 suffix",
"prefix2 suffix",
"prefix3 suffix",
"prefix5 suffix",
"profit3 suffix",
"profile",
"progress",
"poggers",
"unrelated turtle",
"semi-related turtle",
"uncle turtle",
"unrealistic turtle",
)
Functions ¶
func BuildRandomP ¶
func BuildSingleRandom ¶
func RandomBench ¶
func RandomBenchP ¶
func RandomCompileBench ¶
func RandomTest ¶
func RandomTestName ¶
func RandomTestP ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.