Documentation ¶
Index ¶
Constants ¶
View Source
const TestPoints = `` /* 986-byte string literal not displayed */
Variables ¶
View Source
var MethodTypes = MethodTypeMap{ "Binary": Binary, "Unary": Unary, "Custom": Custom, }
MethodTypes for named constants inside templates
Functions ¶
This section is empty.
Types ¶
type InputSource ¶
type InputSource interface { FixedInputs() []PointTuple RandomInput() PointTuple }
type Method ¶
type Method struct { Name string Type MethodType }
type MethodTypeMap ¶
type MethodTypeMap map[string]MethodType
type PointTuple ¶
type PointTuple []Point
type TestPoint ¶
type TestPoint struct { In PointTuple // len(In) = number of arguments, eg 1 or 2 Out []Point // output of each method }
func GenerateTestOutputs ¶
func GenerateTestOutputs(in InputSource, sagePath string, sagePrefixArgs ...string) []TestPoint
Click to show internal directories.
Click to hide internal directories.