testiterator

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package testiterator provides a helper for checking iterator implementations.

It is in a separate package to avoid import cycles.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestIterator

func TestIterator[K, V any](t *testing.T, newIter func() iterator.Interface[K, V])

TestIterator checks that the iterator implementation is correct.

Types

This section is empty.

Jump to

Keyboard shortcuts

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