encodingtest

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: May 15, 2021 License: MIT Imports: 7 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