valcheck

package
v0.3.7-b Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 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