test

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2026 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTestPlayers

func CreateTestPlayers() []domain.Player

CreateTestPlayers returns a slice of players for testing

func CreateTestPools

func CreateTestPools() []domain.Pool

CreateTestPools returns a slice of pools for testing

func CreateTestTournament

func CreateTestTournament() domain.Tournament

CreateTestTournament returns a tournament for testing

func FindCellRow added in v1.0.0

func FindCellRow(rows [][]string, val string) int

FindCellRow returns the 0-based index of the first sheet row containing a cell equal to val, or -1 when absent. rows is the excelize GetRows shape.

func ParsePrintAreaLastRow added in v1.0.0

func ParsePrintAreaLastRow(refersTo string) int

ParsePrintAreaLastRow extracts the last-row number from a Print_Area RefersTo string such as "'Elimination Matches'!$A$1:$H$35". Returns -1 on any parse error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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