Documentation ¶
Overview ¶
Package integr contains all integration tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Expectation ¶
type Expectation interface { Primary(r deflect.ProblemResult, t *testing.T) Reaction(r deflect.ProblemResult, t *testing.T) Interpolated(r deflect.ProblemResult, t *testing.T) Failure(err error, t *testing.T) }
Expectation offers an interface for integration tests to run assertions after solving a boundary value problem.
func ExpectationsFromJSON ¶
func ExpectationsFromJSON(data []byte) ([]Expectation, error)
ExpectationsFromJSON parses the given JSON data and constructs expectations that implement testing assertions from it.
Click to show internal directories.
Click to hide internal directories.