Documentation ¶
Overview ¶
Package graphtest holds test utilities for packages that depend on the graph package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildTestManager ¶ added in v0.2.0
BuildTestManager using "Host" by default -- can be overwritten by GOMLX_PLATFORM environment variable.
func RunTestGraphFn ¶
RunTestGraphFn tests a graph building function graphFn by executing it and comparing its output(s) to the values in want, reporting back any errors in t.
delta is the margin of value on the difference of output and want values that are acceptable. Values of delta <= 0 means only exact equality is accepted.
Types ¶
Click to show internal directories.
Click to hide internal directories.