internal

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFixtureEnlistmentFs

func GetFixtureEnlistmentFs() fstest.MapFS

func GetFixtureScaledEnslistmentToString

func GetFixtureScaledEnslistmentToString() []string

func GetFixtureTestFs

func GetFixtureTestFs() fstest.MapFS

func GetFixtureTestFsDirPath

func GetFixtureTestFsDirPath() string

func GetFixtureUnitEntriesByte

func GetFixtureUnitEntriesByte() []byte

func GetFixtureUnitEntriesStr

func GetFixtureUnitEntriesStr() string

func IterZip

func IterZip[T1, T2 any](s1 []T1, s2 []T2) iter.Seq2[T1, T2]

Types

type NextPair

type NextPair[T1, T2 any] struct {
	First  T1
	Second T2
}

Pair represents a tuple of two values

type TestEnlistment

type TestEnlistment struct {
	Label string
	Value float64
}

func GetFixtureEnlistmentExpected

func GetFixtureEnlistmentExpected() []TestEnlistment

type TestScaledEnlistment

type TestScaledEnlistment struct {
	Scale    string
	Expected []TestEnlistment
}

func GetFixtureScaledEnlistmentExpected

func GetFixtureScaledEnlistmentExpected() []TestScaledEnlistment

type TestUnitEntry

type TestUnitEntry struct {
	Name    string   `json:"name"`
	Value   float64  `json:"value"`
	Aliases []string `json:"aliases"`
}

func GetFixtureTestUnitEntries

func GetFixtureTestUnitEntries() []TestUnitEntry

Jump to

Keyboard shortcuts

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