iteratortest

package
v0.0.0-...-8914292 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IteratorOrder

type IteratorOrder int

type Tester

type Tester[T any] struct {
	// contains filtered or unexported fields
}

func ForIteratorWithKnownOrder

func ForIteratorWithKnownOrder[T any](
	iteratorName string,
	newIterator func() iterator.Iterator[T],
	expectedElements []T,
) *Tester[T]

func ForIteratorWithUnknownOrder

func ForIteratorWithUnknownOrder[T any](
	iteratorName string,
	newIterator func() iterator.Iterator[T],
	expectedElements []T,
) *Tester[T]

func (Tester[T]) Test

func (t Tester[T]) Test() error

Jump to

Keyboard shortcuts

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