valcheck

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MultiSpecTest

type MultiSpecTest struct {
	Name  string
	Tests []*SpecTest
}

func (*MultiSpecTest) GetPostState added in v0.3.1

func (tests *MultiSpecTest) GetPostState() (interface{}, error)

func (*MultiSpecTest) Run

func (test *MultiSpecTest) Run(t *testing.T)

func (*MultiSpecTest) TestName

func (test *MultiSpecTest) TestName() string

type SpecTest

type SpecTest struct {
	Name               string
	Network            types.BeaconNetwork
	BeaconRole         types.BeaconRole
	Input              []byte
	SlashableDataRoots [][]byte
	ExpectedError      string
	AnyError           bool
}

func (*SpecTest) GetPostState added in v0.3.1

func (tests *SpecTest) GetPostState() (interface{}, error)

func (*SpecTest) Run

func (test *SpecTest) Run(t *testing.T)

func (*SpecTest) TestName

func (test *SpecTest) TestName() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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