testhelper

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Datasets = []struct {
		Name   string
		Tables []*unicode.RangeTable
	}{
		{"ASCII_hex_digit", []*unicode.RangeTable{unicode.ASCII_Hex_Digit}},
		{"ASCII_Alphanumeric", []*unicode.RangeTable{{R16: []unicode.Range16{{48, 57, 1}, {65, 90, 1}, {97, 122, 1}}}}},
		{"Latin", []*unicode.RangeTable{unicode.Latin}},
		{"Symbol", []*unicode.RangeTable{unicode.Symbol}},
		{"GraphicRanges", unicode.GraphicRanges},
	}
)

Functions

func InternalBenchmarkAt

func InternalBenchmarkAt(b *testing.B, csFactory func([]*unicode.RangeTable) source.CharSource)

func InternalBenchmarkCreation

func InternalBenchmarkCreation(b *testing.B, csFactory func([]*unicode.RangeTable) source.CharSource)

func InternalTest

func InternalTest(t *testing.T, csFactory func([]*unicode.RangeTable) source.CharSource)

Types

This section is empty.

Jump to

Keyboard shortcuts

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