testutil

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2026 License: AGPL-3.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

View Source
const (
	BallotNumFields      = 6
	BallotGroupSize      = 2
	BallotUniqueValues   = 0
	BallotMaxValue       = 16
	BallotMinValue       = 0
	BallotMaxValueSum    = 1280 // (maxValue ^ costExponent) * numFields
	BallotMinValueSum    = BallotNumFields
	BallotCostExponent   = 2
	BallotCostFromWeight = 0
)

Variables

This section is empty.

Functions

func FixedBallotMode

func FixedBallotMode() spec.BallotMode

FixedBallotMode returns a fixed ballot mode fixture used in tests.

Types

This section is empty.

Jump to

Keyboard shortcuts

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