integr

package
v0.0.0-...-4adbeb6 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MPL-2.0 Imports: 10 Imported by: 0

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.

Jump to

Keyboard shortcuts

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