Documentation
¶
Index ¶
- func GetFixtureEnlistmentFs() fstest.MapFS
- func GetFixtureScaledEnslistmentToString() []string
- func GetFixtureTestFs() fstest.MapFS
- func GetFixtureTestFsDirPath() string
- func GetFixtureUnitEntriesByte() []byte
- func GetFixtureUnitEntriesStr() string
- func IterZip[T1, T2 any](s1 []T1, s2 []T2) iter.Seq2[T1, T2]
- type NextPair
- type TestEnlistment
- type TestScaledEnlistment
- type TestUnitEntry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFixtureEnlistmentFs ¶
func GetFixtureScaledEnslistmentToString ¶
func GetFixtureScaledEnslistmentToString() []string
func GetFixtureTestFs ¶
func GetFixtureTestFsDirPath ¶
func GetFixtureTestFsDirPath() string
func GetFixtureUnitEntriesByte ¶
func GetFixtureUnitEntriesByte() []byte
func GetFixtureUnitEntriesStr ¶
func GetFixtureUnitEntriesStr() string
Types ¶
type NextPair ¶
type NextPair[T1, T2 any] struct { First T1 Second T2 }
Pair represents a tuple of two values
type TestEnlistment ¶
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
Click to show internal directories.
Click to hide internal directories.