encodingtest

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package encodingtest provides a test suite for testing codec implementations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BenchmarkCodec

func BenchmarkCodec(b *testing.B, codecBuilder func() encoding.Codec)

BenchmarkCodec runs benchmarks against the given codec.

func TestCodec

func TestCodec(t *testing.T, codecBuilder func() encoding.Codec)

TestCodec runs a list of tests on the given codec.

Types

This section is empty.

Jump to

Keyboard shortcuts

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