Documentation ¶
Index ¶
- func AssertFilteredOpt(t *testing.T, opts godip.Options, filter string, order []string)
- func AssertMove(t *testing.T, j *state.State, src, dst godip.Province, success bool)
- func AssertNoOpt(t *testing.T, opts godip.Options, order []string)
- func AssertNoOptionToMoveTo(t *testing.T, j *state.State, nat godip.Nation, src godip.Province, ...)
- func AssertNoOwner(t *testing.T, j *state.State, supplyCenter string)
- func AssertNoUnit(t *testing.T, j *state.State, province godip.Province)
- func AssertOpt(t *testing.T, opts godip.Options, order []string)
- func AssertOptionToMove(t *testing.T, j *state.State, nat godip.Nation, src godip.Province, ...)
- func AssertOrderValidity(t *testing.T, validator godip.Validator, order godip.Order, nat godip.Nation, ...)
- func AssertOwner(t *testing.T, j *state.State, supplyCenter string, owner godip.Nation)
- func AssertUnit(t *testing.T, j *state.State, province godip.Province, unit godip.Unit)
- func PP(i interface{}) string
- func TestGames(t *testing.T, variant common.Variant)
- func WaitForPhases(judge *state.State, phases int)
- func WaitForYears(judge *state.State, years int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertFilteredOpt ¶ added in v0.1.38
func AssertMove ¶
func AssertNoOptionToMoveTo ¶
func AssertOptionToMove ¶
func AssertOrderValidity ¶
func AssertOwner ¶
func AssertUnit ¶
func WaitForPhases ¶
Wait for the given number of phases.
func WaitForYears ¶
Increase the current phase by the given number of years.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.