Documentation
¶
Overview ¶
Package tests exports shared patterns for use by the other bytematcher packages
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TestAnyMasks = []AnyMask{AnyMask(0xAA)}
View Source
var TestChoices = []Choice{ {TestSequences[0], TestSequences[2]}, {TestSequences[2], TestSequences[0]}, {TestSequences[4], TestSequences[5]}, {TestSequences[3]}, { TestSequences[6], TestSequences[7], TestSequences[8], TestSequences[9], TestSequences[10], TestSequences[11], TestSequences[12], TestSequences[13], TestSequences[14], TestSequences[15], }, {TestSequences[0], TestLists[0]}, {TestSequences[3], TestSequences[4]}, }
Test Choices are exported so they can be used by the other bytematcher packages.
View Source
var TestLists = []List{ {TestSequences[0], TestSequences[2]}, {TestSequences[3], TestSequences[4]}, }
TestLists are exported so they can be used by the other bytematcher packages.
View Source
var TestMasks = []Mask{Mask(0xAA)}
View Source
var TestNotSequences = []Not{
{Sequence("test")},
{Sequence("test")},
{Sequence{255}},
{Sequence{0}},
{Sequence{10}},
}
TestNotSequences are exported so they can be used by the other bytematcher packages.
View Source
var TestSequences = []Sequence{
Sequence("test"),
Sequence("test"),
Sequence("testy"),
Sequence("TEST"),
Sequence("TESTY"),
Sequence("YNESS"),
{'a'},
{'b'},
{'c'},
{'d'},
{'e'},
{'f'},
{'g'},
{'h'},
{'i'},
{'j'},
Sequence("junk"),
Sequence("23"),
}
TestSequences are exported so they can be used by the other bytematcher packages.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.