Documentation ¶
Overview ¶
Package noxtest implements different test helper functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MockPlatform ¶
MockPlatform is a mock Platform implementation to allow test using ticks
func (*MockPlatform) RandInt ¶
func (p *MockPlatform) RandInt() int
func (*MockPlatform) RandSeed ¶
func (p *MockPlatform) RandSeed(seed int64)
func (*MockPlatform) RandSeedTime ¶
func (p *MockPlatform) RandSeedTime()
func (*MockPlatform) Sleep ¶
func (p *MockPlatform) Sleep(dt time.Duration)
func (*MockPlatform) Ticks ¶
func (p *MockPlatform) Ticks() time.Duration
func (*MockPlatform) TimeSeed ¶
func (p *MockPlatform) TimeSeed() int64
Click to show internal directories.
Click to hide internal directories.