testutils

package
v0.0.0-...-9409369 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTestArchSchemas

func NewTestArchSchemas(t *testing.T) arch.ArchSchemas

NewTestArchSchemas returns test schemas for actions and tables.

Types

type ActionData_Add

type ActionData_Add = archmod.ActionData_Add

type Core

type Core struct {
	arch.BaseCore
}

func NewTestCore

func NewTestCore(t *testing.T) *Core

NewTestCore returns a new Core instance for testing.

func (*Core) Add

func (c *Core) Add(action *archmod.ActionData_Add) error

func (*Core) GetCounter

func (c *Core) GetCounter() int16

func (*Core) SetCounter

func (c *Core) SetCounter(val int16)

func (*Core) Tick

func (c *Core) Tick()

func (*Core) TicksPerBlock

func (c *Core) TicksPerBlock() uint64

type RowData_Counter

type RowData_Counter = archmod.RowData_Counter

Directories

Path Synopsis
gogen

Jump to

Keyboard shortcuts

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