Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestVector ¶
type TestVector[I, O any] struct { Description string `json:"description"` Input I `json:"input"` Output O `json:"output"` Errors bool `json:"errors"` }
TestVector is an individual test vector case
type TestVectors ¶
type TestVectors[T, U any] struct { Description string `json:"description"` Vectors []TestVector[T, U] `json:"vectors"` }
TestVectors are JSON files which are tested against to ensure interop with the specification
func LoadTestVectors ¶
func LoadTestVectors[I, O any](path string) (TestVectors[I, O], error)
LoadTestVectors is for reading the vector at the given path
Click to show internal directories.
Click to hide internal directories.