Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Setup ¶
type Setup struct {
// Testbed is the layout testbed.
Testbed *Testbed
// Engine is the world engine.
Engine *s4wave_world.Engine
// LayoutResourceID is the resource ID of the created layout.
LayoutResourceID uint32
}
Setup holds the test setup state for layout tests.
type Testbed ¶
type Testbed struct {
*world_testbed.Testbed
// ResClient is the resource client for the testbed.
ResClient *resource_client.Client
// contains filtered or unexported fields
}
Testbed is a constructed layout testbed.
func NewTestbed ¶
func NewTestbed(ctx context.Context, tb *world_testbed.Testbed, opts ...Option) (t *Testbed, tbErr error)
NewTestbed constructs a new layout testbed from a world testbed.
Click to show internal directories.
Click to hide internal directories.