test

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2023 License: GPL-3.0, GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package test contains functions useful for testing CPU registers. For now it contains just one function, EquateRegisters().

Packaged separately because it needs to be available to both the registers and cpu test packages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EquateRegisters

func EquateRegisters(t *testing.T, value, expectedValue interface{})

EquateRegisters is used to test equality between two instances of a register type. Used in testing packages.

Types

This section is empty.

Jump to

Keyboard shortcuts

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