testhelper

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TestData = []testItem{
	{false, false, true},
	{true, true, true},
	{true, false, false},
	{0, 0, true},
	{1, 1, true},
	{-1, -1, true},
	{1, 0, false},
	{1, -1, false},
	{0.0, 0.0, true},
	{1.0, 1.0, true},
	{1.0, 1, true},
	{1.5, 1, false},
	{2.0, 1, false},
	{0 + 0i, 0, true},
	{1 + 2i, 1 + 2i, true},
	{3 + 1i, 1 + 2i, false},
	{3 + 4i, 3, false},
	{3 + 4i, -3, false},
	{&nul, 0, true},
	{0, &nul, true},
	{&one, &one, true},
	{1, &nul, false},
	{&one, 0, false},
}
View Source
var TestFuncTemplate string

Functions

This section is empty.

Types

type TestItemRender

type TestItemRender interface {
	RenderTmplOutput(rev bool) string
}

Jump to

Keyboard shortcuts

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