tests

package
v1.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

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)}

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL