testutil

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: BSD-2-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadFile

func ReadFile[T any](
	file string,
	parseWeight func(string) (T, error),
) (*multigraph.Multigraph[T], error)

func ReadGraph

func ReadGraph[T any](
	t testing.TB,
	r io.Reader,
	parseWeight func(string) (T, error),
) *multigraph.Multigraph[T]

Types

This section is empty.

Jump to

Keyboard shortcuts

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