testutils

package
v0.52.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package testutils provides utility functions for testing the test engine.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StubChain

type StubChain struct {
	// contains filtered or unexported fields
}

StubChain is an lightweight implementation of the fchain.BlockChain interface for testing purposes.

func NewStubChain

func NewStubChain(selector uint64) *StubChain

NewStubChain creates a new StubChain with the given selector.

func (*StubChain) ChainSelector

func (c *StubChain) ChainSelector() uint64

Implement the fchain.BlockChain interface.

func (*StubChain) Family

func (c *StubChain) Family() string

func (*StubChain) Name

func (c *StubChain) Name() string

func (*StubChain) String

func (c *StubChain) String() string

Jump to

Keyboard shortcuts

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