Documentation ¶
Index ¶
- type Canvas
- func (_m *Canvas) ClearScreen(c color.Color)
- func (_m *Canvas) CreateNewSprite() turtlemodel.Sprite
- func (_m *Canvas) EXPECT() *Canvas_Expecter
- func (_m *Canvas) Exit()
- func (_m *Canvas) Fill(x int, y int, c color.Color)
- func (_m *Canvas) GetHeight() int
- func (_m *Canvas) GetScreenshot() image.Image
- func (_m *Canvas) GetWidth() int
- func (_m *Canvas) PressedUserInput() *turtlemodel.UserInput
- func (_m *Canvas) SetCartesianPixel(x int, y int, c color.Color)
- func (_m *Canvas) SetPixel(x int, y int, c color.Color)
- func (_m *Canvas) SubscribeToJustPressedUserInput() chan *turtlemodel.UserInput
- func (_m *Canvas) UnSubscribeToJustPressedUserInput(in chan *turtlemodel.UserInput)
- type Canvas_ClearScreen_Call
- type Canvas_CreateNewSprite_Call
- type Canvas_Exit_Call
- type Canvas_Expecter
- func (_e *Canvas_Expecter) ClearScreen(c interface{}) *Canvas_ClearScreen_Call
- func (_e *Canvas_Expecter) CreateNewSprite() *Canvas_CreateNewSprite_Call
- func (_e *Canvas_Expecter) Exit() *Canvas_Exit_Call
- func (_e *Canvas_Expecter) Fill(x interface{}, y interface{}, c interface{}) *Canvas_Fill_Call
- func (_e *Canvas_Expecter) GetHeight() *Canvas_GetHeight_Call
- func (_e *Canvas_Expecter) GetScreenshot() *Canvas_GetScreenshot_Call
- func (_e *Canvas_Expecter) GetWidth() *Canvas_GetWidth_Call
- func (_e *Canvas_Expecter) PressedUserInput() *Canvas_PressedUserInput_Call
- func (_e *Canvas_Expecter) SetCartesianPixel(x interface{}, y interface{}, c interface{}) *Canvas_SetCartesianPixel_Call
- func (_e *Canvas_Expecter) SetPixel(x interface{}, y interface{}, c interface{}) *Canvas_SetPixel_Call
- func (_e *Canvas_Expecter) SubscribeToJustPressedUserInput() *Canvas_SubscribeToJustPressedUserInput_Call
- func (_e *Canvas_Expecter) UnSubscribeToJustPressedUserInput(in interface{}) *Canvas_UnSubscribeToJustPressedUserInput_Call
- type Canvas_Fill_Call
- type Canvas_GetHeight_Call
- type Canvas_GetScreenshot_Call
- type Canvas_GetWidth_Call
- type Canvas_PressedUserInput_Call
- func (_c *Canvas_PressedUserInput_Call) Return(_a0 *turtlemodel.UserInput) *Canvas_PressedUserInput_Call
- func (_c *Canvas_PressedUserInput_Call) Run(run func()) *Canvas_PressedUserInput_Call
- func (_c *Canvas_PressedUserInput_Call) RunAndReturn(run func() *turtlemodel.UserInput) *Canvas_PressedUserInput_Call
- type Canvas_SetCartesianPixel_Call
- func (_c *Canvas_SetCartesianPixel_Call) Return() *Canvas_SetCartesianPixel_Call
- func (_c *Canvas_SetCartesianPixel_Call) Run(run func(x int, y int, c color.Color)) *Canvas_SetCartesianPixel_Call
- func (_c *Canvas_SetCartesianPixel_Call) RunAndReturn(run func(int, int, color.Color)) *Canvas_SetCartesianPixel_Call
- type Canvas_SetPixel_Call
- type Canvas_SubscribeToJustPressedUserInput_Call
- func (_c *Canvas_SubscribeToJustPressedUserInput_Call) Return(_a0 chan *turtlemodel.UserInput) *Canvas_SubscribeToJustPressedUserInput_Call
- func (_c *Canvas_SubscribeToJustPressedUserInput_Call) Run(run func()) *Canvas_SubscribeToJustPressedUserInput_Call
- func (_c *Canvas_SubscribeToJustPressedUserInput_Call) RunAndReturn(run func() chan *turtlemodel.UserInput) *Canvas_SubscribeToJustPressedUserInput_Call
- type Canvas_UnSubscribeToJustPressedUserInput_Call
- func (_c *Canvas_UnSubscribeToJustPressedUserInput_Call) Return() *Canvas_UnSubscribeToJustPressedUserInput_Call
- func (_c *Canvas_UnSubscribeToJustPressedUserInput_Call) Run(run func(in chan *turtlemodel.UserInput)) *Canvas_UnSubscribeToJustPressedUserInput_Call
- func (_c *Canvas_UnSubscribeToJustPressedUserInput_Call) RunAndReturn(run func(chan *turtlemodel.UserInput)) *Canvas_UnSubscribeToJustPressedUserInput_Call
- type Sprite
- func (_m *Sprite) EXPECT() *Sprite_Expecter
- func (_m *Sprite) Get() turtlemodel.SpriteInfo
- func (_m *Sprite) Set(visible bool, cartX float64, cartY float64, radianAngle float64)
- func (_m *Sprite) SetPosition(cartX float64, cartY float64)
- func (_m *Sprite) SetRotation(radianAngle float64)
- func (_m *Sprite) SetScale(scale float64)
- func (_m *Sprite) SetSpriteImage(_a0 image.Image)
- func (_m *Sprite) SetSpriteImageArrow()
- func (_m *Sprite) SetSpriteImageTurtle()
- func (_m *Sprite) SetVisible(visible bool)
- type Sprite_Expecter
- func (_e *Sprite_Expecter) Get() *Sprite_Get_Call
- func (_e *Sprite_Expecter) Set(visible interface{}, cartX interface{}, cartY interface{}, ...) *Sprite_Set_Call
- func (_e *Sprite_Expecter) SetPosition(cartX interface{}, cartY interface{}) *Sprite_SetPosition_Call
- func (_e *Sprite_Expecter) SetRotation(radianAngle interface{}) *Sprite_SetRotation_Call
- func (_e *Sprite_Expecter) SetScale(scale interface{}) *Sprite_SetScale_Call
- func (_e *Sprite_Expecter) SetSpriteImage(_a0 interface{}) *Sprite_SetSpriteImage_Call
- func (_e *Sprite_Expecter) SetSpriteImageArrow() *Sprite_SetSpriteImageArrow_Call
- func (_e *Sprite_Expecter) SetSpriteImageTurtle() *Sprite_SetSpriteImageTurtle_Call
- func (_e *Sprite_Expecter) SetVisible(visible interface{}) *Sprite_SetVisible_Call
- type Sprite_Get_Call
- type Sprite_SetPosition_Call
- type Sprite_SetRotation_Call
- type Sprite_SetScale_Call
- type Sprite_SetSpriteImageArrow_Call
- type Sprite_SetSpriteImageTurtle_Call
- type Sprite_SetSpriteImage_Call
- type Sprite_SetVisible_Call
- type Sprite_Set_Call
- type Turtle
- func (_m *Turtle) Angle(angle float64)
- func (_m *Turtle) B(distance float64)
- func (_m *Turtle) Backward(distance float64)
- func (_m *Turtle) Circle(radius float64, angleAmountToDraw float64, steps int)
- func (_m *Turtle) Clone() turtlemodel.Turtle
- func (_m *Turtle) Color(c color.Color)
- func (_m *Turtle) CompassMode()
- func (_m *Turtle) DegreesMode()
- func (_m *Turtle) Dot(size float64)
- func (_m *Turtle) EXPECT() *Turtle_Expecter
- func (_m *Turtle) F(distance float64)
- func (_m *Turtle) Fill(c color.Color)
- func (_m *Turtle) Forward(distance float64)
- func (_m *Turtle) GetAngle() float64
- func (_m *Turtle) GetAngleMode() turtlemodel.AngleMode
- func (_m *Turtle) GetColor() color.Color
- func (_m *Turtle) GetPos() (float64, float64)
- func (_m *Turtle) GetSize() float64
- func (_m *Turtle) GetSpeed() float64
- func (_m *Turtle) GoTo(x float64, y float64)
- func (_m *Turtle) HideTurtle()
- func (_m *Turtle) IsPenDown() bool
- func (_m *Turtle) L(angle float64)
- func (_m *Turtle) Left(angle float64)
- func (_m *Turtle) Off()
- func (_m *Turtle) On()
- func (_m *Turtle) PD()
- func (_m *Turtle) PU()
- func (_m *Turtle) PanL(distance float64)
- func (_m *Turtle) PanLeftward(distance float64)
- func (_m *Turtle) PanR(distance float64)
- func (_m *Turtle) PanRightward(distance float64)
- func (_m *Turtle) PenDown()
- func (_m *Turtle) PenUp()
- func (_m *Turtle) PointToward(x float64, y float64)
- func (_m *Turtle) R(angle float64)
- func (_m *Turtle) RadiansMode()
- func (_m *Turtle) Right(angle float64)
- func (_m *Turtle) ShapeAsArrow()
- func (_m *Turtle) ShapeAsImage(in image.Image)
- func (_m *Turtle) ShapeAsTurtle()
- func (_m *Turtle) ShapeScale(scale float64)
- func (_m *Turtle) ShowTurtle()
- func (_m *Turtle) Size(size float64)
- func (_m *Turtle) Speed(PixelsPerSecond float64)
- type Turtle_Angle_Call
- type Turtle_B_Call
- type Turtle_Backward_Call
- type Turtle_Circle_Call
- type Turtle_Clone_Call
- type Turtle_Color_Call
- type Turtle_CompassMode_Call
- type Turtle_DegreesMode_Call
- type Turtle_Dot_Call
- type Turtle_Expecter
- func (_e *Turtle_Expecter) Angle(angle interface{}) *Turtle_Angle_Call
- func (_e *Turtle_Expecter) B(distance interface{}) *Turtle_B_Call
- func (_e *Turtle_Expecter) Backward(distance interface{}) *Turtle_Backward_Call
- func (_e *Turtle_Expecter) Circle(radius interface{}, angleAmountToDraw interface{}, steps interface{}) *Turtle_Circle_Call
- func (_e *Turtle_Expecter) Clone() *Turtle_Clone_Call
- func (_e *Turtle_Expecter) Color(c interface{}) *Turtle_Color_Call
- func (_e *Turtle_Expecter) CompassMode() *Turtle_CompassMode_Call
- func (_e *Turtle_Expecter) DegreesMode() *Turtle_DegreesMode_Call
- func (_e *Turtle_Expecter) Dot(size interface{}) *Turtle_Dot_Call
- func (_e *Turtle_Expecter) F(distance interface{}) *Turtle_F_Call
- func (_e *Turtle_Expecter) Fill(c interface{}) *Turtle_Fill_Call
- func (_e *Turtle_Expecter) Forward(distance interface{}) *Turtle_Forward_Call
- func (_e *Turtle_Expecter) GetAngle() *Turtle_GetAngle_Call
- func (_e *Turtle_Expecter) GetAngleMode() *Turtle_GetAngleMode_Call
- func (_e *Turtle_Expecter) GetColor() *Turtle_GetColor_Call
- func (_e *Turtle_Expecter) GetPos() *Turtle_GetPos_Call
- func (_e *Turtle_Expecter) GetSize() *Turtle_GetSize_Call
- func (_e *Turtle_Expecter) GetSpeed() *Turtle_GetSpeed_Call
- func (_e *Turtle_Expecter) GoTo(x interface{}, y interface{}) *Turtle_GoTo_Call
- func (_e *Turtle_Expecter) HideTurtle() *Turtle_HideTurtle_Call
- func (_e *Turtle_Expecter) IsPenDown() *Turtle_IsPenDown_Call
- func (_e *Turtle_Expecter) L(angle interface{}) *Turtle_L_Call
- func (_e *Turtle_Expecter) Left(angle interface{}) *Turtle_Left_Call
- func (_e *Turtle_Expecter) Off() *Turtle_Off_Call
- func (_e *Turtle_Expecter) On() *Turtle_On_Call
- func (_e *Turtle_Expecter) PD() *Turtle_PD_Call
- func (_e *Turtle_Expecter) PU() *Turtle_PU_Call
- func (_e *Turtle_Expecter) PanL(distance interface{}) *Turtle_PanL_Call
- func (_e *Turtle_Expecter) PanLeftward(distance interface{}) *Turtle_PanLeftward_Call
- func (_e *Turtle_Expecter) PanR(distance interface{}) *Turtle_PanR_Call
- func (_e *Turtle_Expecter) PanRightward(distance interface{}) *Turtle_PanRightward_Call
- func (_e *Turtle_Expecter) PenDown() *Turtle_PenDown_Call
- func (_e *Turtle_Expecter) PenUp() *Turtle_PenUp_Call
- func (_e *Turtle_Expecter) PointToward(x interface{}, y interface{}) *Turtle_PointToward_Call
- func (_e *Turtle_Expecter) R(angle interface{}) *Turtle_R_Call
- func (_e *Turtle_Expecter) RadiansMode() *Turtle_RadiansMode_Call
- func (_e *Turtle_Expecter) Right(angle interface{}) *Turtle_Right_Call
- func (_e *Turtle_Expecter) ShapeAsArrow() *Turtle_ShapeAsArrow_Call
- func (_e *Turtle_Expecter) ShapeAsImage(in interface{}) *Turtle_ShapeAsImage_Call
- func (_e *Turtle_Expecter) ShapeAsTurtle() *Turtle_ShapeAsTurtle_Call
- func (_e *Turtle_Expecter) ShapeScale(scale interface{}) *Turtle_ShapeScale_Call
- func (_e *Turtle_Expecter) ShowTurtle() *Turtle_ShowTurtle_Call
- func (_e *Turtle_Expecter) Size(size interface{}) *Turtle_Size_Call
- func (_e *Turtle_Expecter) Speed(PixelsPerSecond interface{}) *Turtle_Speed_Call
- type Turtle_F_Call
- type Turtle_Fill_Call
- type Turtle_Forward_Call
- type Turtle_GetAngleMode_Call
- type Turtle_GetAngle_Call
- type Turtle_GetColor_Call
- type Turtle_GetPos_Call
- type Turtle_GetSize_Call
- type Turtle_GetSpeed_Call
- type Turtle_GoTo_Call
- type Turtle_HideTurtle_Call
- type Turtle_IsPenDown_Call
- type Turtle_L_Call
- type Turtle_Left_Call
- type Turtle_Off_Call
- type Turtle_On_Call
- type Turtle_PD_Call
- type Turtle_PU_Call
- type Turtle_PanL_Call
- type Turtle_PanLeftward_Call
- type Turtle_PanR_Call
- type Turtle_PanRightward_Call
- type Turtle_PenDown_Call
- type Turtle_PenUp_Call
- type Turtle_PointToward_Call
- type Turtle_R_Call
- type Turtle_RadiansMode_Call
- type Turtle_Right_Call
- type Turtle_ShapeAsArrow_Call
- type Turtle_ShapeAsImage_Call
- type Turtle_ShapeAsTurtle_Call
- type Turtle_ShapeScale_Call
- type Turtle_ShowTurtle_Call
- type Turtle_Size_Call
- type Turtle_Speed_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Canvas ¶
Canvas is an autogenerated mock type for the Canvas type
func NewCanvas ¶
NewCanvas creates a new instance of Canvas. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Canvas) ClearScreen ¶
ClearScreen provides a mock function with given fields: c
func (*Canvas) CreateNewSprite ¶
func (_m *Canvas) CreateNewSprite() turtlemodel.Sprite
CreateNewSprite provides a mock function with given fields:
func (*Canvas) EXPECT ¶
func (_m *Canvas) EXPECT() *Canvas_Expecter
func (*Canvas) GetScreenshot ¶
GetScreenshot provides a mock function with given fields:
func (*Canvas) PressedUserInput ¶
func (_m *Canvas) PressedUserInput() *turtlemodel.UserInput
PressedUserInput provides a mock function with given fields:
func (*Canvas) SetCartesianPixel ¶
SetCartesianPixel provides a mock function with given fields: x, y, c
func (*Canvas) SubscribeToJustPressedUserInput ¶
func (_m *Canvas) SubscribeToJustPressedUserInput() chan *turtlemodel.UserInput
SubscribeToJustPressedUserInput provides a mock function with given fields:
func (*Canvas) UnSubscribeToJustPressedUserInput ¶
func (_m *Canvas) UnSubscribeToJustPressedUserInput(in chan *turtlemodel.UserInput)
UnSubscribeToJustPressedUserInput provides a mock function with given fields: in
type Canvas_ClearScreen_Call ¶
Canvas_ClearScreen_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClearScreen'
func (*Canvas_ClearScreen_Call) Return ¶
func (_c *Canvas_ClearScreen_Call) Return() *Canvas_ClearScreen_Call
func (*Canvas_ClearScreen_Call) Run ¶
func (_c *Canvas_ClearScreen_Call) Run(run func(c color.Color)) *Canvas_ClearScreen_Call
func (*Canvas_ClearScreen_Call) RunAndReturn ¶
func (_c *Canvas_ClearScreen_Call) RunAndReturn(run func(color.Color)) *Canvas_ClearScreen_Call
type Canvas_CreateNewSprite_Call ¶
Canvas_CreateNewSprite_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateNewSprite'
func (*Canvas_CreateNewSprite_Call) Return ¶
func (_c *Canvas_CreateNewSprite_Call) Return(_a0 turtlemodel.Sprite) *Canvas_CreateNewSprite_Call
func (*Canvas_CreateNewSprite_Call) Run ¶
func (_c *Canvas_CreateNewSprite_Call) Run(run func()) *Canvas_CreateNewSprite_Call
func (*Canvas_CreateNewSprite_Call) RunAndReturn ¶
func (_c *Canvas_CreateNewSprite_Call) RunAndReturn(run func() turtlemodel.Sprite) *Canvas_CreateNewSprite_Call
type Canvas_Exit_Call ¶
Canvas_Exit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Exit'
func (*Canvas_Exit_Call) Return ¶
func (_c *Canvas_Exit_Call) Return() *Canvas_Exit_Call
func (*Canvas_Exit_Call) Run ¶
func (_c *Canvas_Exit_Call) Run(run func()) *Canvas_Exit_Call
func (*Canvas_Exit_Call) RunAndReturn ¶
func (_c *Canvas_Exit_Call) RunAndReturn(run func()) *Canvas_Exit_Call
type Canvas_Expecter ¶
type Canvas_Expecter struct {
// contains filtered or unexported fields
}
func (*Canvas_Expecter) ClearScreen ¶
func (_e *Canvas_Expecter) ClearScreen(c interface{}) *Canvas_ClearScreen_Call
ClearScreen is a helper method to define mock.On call
- c color.Color
func (*Canvas_Expecter) CreateNewSprite ¶
func (_e *Canvas_Expecter) CreateNewSprite() *Canvas_CreateNewSprite_Call
CreateNewSprite is a helper method to define mock.On call
func (*Canvas_Expecter) Exit ¶
func (_e *Canvas_Expecter) Exit() *Canvas_Exit_Call
Exit is a helper method to define mock.On call
func (*Canvas_Expecter) Fill ¶
func (_e *Canvas_Expecter) Fill(x interface{}, y interface{}, c interface{}) *Canvas_Fill_Call
Fill is a helper method to define mock.On call
- x int
- y int
- c color.Color
func (*Canvas_Expecter) GetHeight ¶
func (_e *Canvas_Expecter) GetHeight() *Canvas_GetHeight_Call
GetHeight is a helper method to define mock.On call
func (*Canvas_Expecter) GetScreenshot ¶
func (_e *Canvas_Expecter) GetScreenshot() *Canvas_GetScreenshot_Call
GetScreenshot is a helper method to define mock.On call
func (*Canvas_Expecter) GetWidth ¶
func (_e *Canvas_Expecter) GetWidth() *Canvas_GetWidth_Call
GetWidth is a helper method to define mock.On call
func (*Canvas_Expecter) PressedUserInput ¶
func (_e *Canvas_Expecter) PressedUserInput() *Canvas_PressedUserInput_Call
PressedUserInput is a helper method to define mock.On call
func (*Canvas_Expecter) SetCartesianPixel ¶
func (_e *Canvas_Expecter) SetCartesianPixel(x interface{}, y interface{}, c interface{}) *Canvas_SetCartesianPixel_Call
SetCartesianPixel is a helper method to define mock.On call
- x int
- y int
- c color.Color
func (*Canvas_Expecter) SetPixel ¶
func (_e *Canvas_Expecter) SetPixel(x interface{}, y interface{}, c interface{}) *Canvas_SetPixel_Call
SetPixel is a helper method to define mock.On call
- x int
- y int
- c color.Color
func (*Canvas_Expecter) SubscribeToJustPressedUserInput ¶
func (_e *Canvas_Expecter) SubscribeToJustPressedUserInput() *Canvas_SubscribeToJustPressedUserInput_Call
SubscribeToJustPressedUserInput is a helper method to define mock.On call
func (*Canvas_Expecter) UnSubscribeToJustPressedUserInput ¶
func (_e *Canvas_Expecter) UnSubscribeToJustPressedUserInput(in interface{}) *Canvas_UnSubscribeToJustPressedUserInput_Call
UnSubscribeToJustPressedUserInput is a helper method to define mock.On call
- in chan *turtlemodel.UserInput
type Canvas_Fill_Call ¶
Canvas_Fill_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Fill'
func (*Canvas_Fill_Call) Return ¶
func (_c *Canvas_Fill_Call) Return() *Canvas_Fill_Call
func (*Canvas_Fill_Call) Run ¶
func (_c *Canvas_Fill_Call) Run(run func(x int, y int, c color.Color)) *Canvas_Fill_Call
func (*Canvas_Fill_Call) RunAndReturn ¶
func (_c *Canvas_Fill_Call) RunAndReturn(run func(int, int, color.Color)) *Canvas_Fill_Call
type Canvas_GetHeight_Call ¶
Canvas_GetHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetHeight'
func (*Canvas_GetHeight_Call) Return ¶
func (_c *Canvas_GetHeight_Call) Return(_a0 int) *Canvas_GetHeight_Call
func (*Canvas_GetHeight_Call) Run ¶
func (_c *Canvas_GetHeight_Call) Run(run func()) *Canvas_GetHeight_Call
func (*Canvas_GetHeight_Call) RunAndReturn ¶
func (_c *Canvas_GetHeight_Call) RunAndReturn(run func() int) *Canvas_GetHeight_Call
type Canvas_GetScreenshot_Call ¶
Canvas_GetScreenshot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetScreenshot'
func (*Canvas_GetScreenshot_Call) Return ¶
func (_c *Canvas_GetScreenshot_Call) Return(_a0 image.Image) *Canvas_GetScreenshot_Call
func (*Canvas_GetScreenshot_Call) Run ¶
func (_c *Canvas_GetScreenshot_Call) Run(run func()) *Canvas_GetScreenshot_Call
func (*Canvas_GetScreenshot_Call) RunAndReturn ¶
func (_c *Canvas_GetScreenshot_Call) RunAndReturn(run func() image.Image) *Canvas_GetScreenshot_Call
type Canvas_GetWidth_Call ¶
Canvas_GetWidth_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetWidth'
func (*Canvas_GetWidth_Call) Return ¶
func (_c *Canvas_GetWidth_Call) Return(_a0 int) *Canvas_GetWidth_Call
func (*Canvas_GetWidth_Call) Run ¶
func (_c *Canvas_GetWidth_Call) Run(run func()) *Canvas_GetWidth_Call
func (*Canvas_GetWidth_Call) RunAndReturn ¶
func (_c *Canvas_GetWidth_Call) RunAndReturn(run func() int) *Canvas_GetWidth_Call
type Canvas_PressedUserInput_Call ¶
Canvas_PressedUserInput_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PressedUserInput'
func (*Canvas_PressedUserInput_Call) Return ¶
func (_c *Canvas_PressedUserInput_Call) Return(_a0 *turtlemodel.UserInput) *Canvas_PressedUserInput_Call
func (*Canvas_PressedUserInput_Call) Run ¶
func (_c *Canvas_PressedUserInput_Call) Run(run func()) *Canvas_PressedUserInput_Call
func (*Canvas_PressedUserInput_Call) RunAndReturn ¶
func (_c *Canvas_PressedUserInput_Call) RunAndReturn(run func() *turtlemodel.UserInput) *Canvas_PressedUserInput_Call
type Canvas_SetCartesianPixel_Call ¶
Canvas_SetCartesianPixel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetCartesianPixel'
func (*Canvas_SetCartesianPixel_Call) Return ¶
func (_c *Canvas_SetCartesianPixel_Call) Return() *Canvas_SetCartesianPixel_Call
func (*Canvas_SetCartesianPixel_Call) Run ¶
func (_c *Canvas_SetCartesianPixel_Call) Run(run func(x int, y int, c color.Color)) *Canvas_SetCartesianPixel_Call
func (*Canvas_SetCartesianPixel_Call) RunAndReturn ¶
func (_c *Canvas_SetCartesianPixel_Call) RunAndReturn(run func(int, int, color.Color)) *Canvas_SetCartesianPixel_Call
type Canvas_SetPixel_Call ¶
Canvas_SetPixel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetPixel'
func (*Canvas_SetPixel_Call) Return ¶
func (_c *Canvas_SetPixel_Call) Return() *Canvas_SetPixel_Call
func (*Canvas_SetPixel_Call) Run ¶
func (_c *Canvas_SetPixel_Call) Run(run func(x int, y int, c color.Color)) *Canvas_SetPixel_Call
func (*Canvas_SetPixel_Call) RunAndReturn ¶
func (_c *Canvas_SetPixel_Call) RunAndReturn(run func(int, int, color.Color)) *Canvas_SetPixel_Call
type Canvas_SubscribeToJustPressedUserInput_Call ¶
Canvas_SubscribeToJustPressedUserInput_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SubscribeToJustPressedUserInput'
func (*Canvas_SubscribeToJustPressedUserInput_Call) Return ¶
func (_c *Canvas_SubscribeToJustPressedUserInput_Call) Return(_a0 chan *turtlemodel.UserInput) *Canvas_SubscribeToJustPressedUserInput_Call
func (*Canvas_SubscribeToJustPressedUserInput_Call) Run ¶
func (_c *Canvas_SubscribeToJustPressedUserInput_Call) Run(run func()) *Canvas_SubscribeToJustPressedUserInput_Call
func (*Canvas_SubscribeToJustPressedUserInput_Call) RunAndReturn ¶
func (_c *Canvas_SubscribeToJustPressedUserInput_Call) RunAndReturn(run func() chan *turtlemodel.UserInput) *Canvas_SubscribeToJustPressedUserInput_Call
type Canvas_UnSubscribeToJustPressedUserInput_Call ¶
Canvas_UnSubscribeToJustPressedUserInput_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnSubscribeToJustPressedUserInput'
func (*Canvas_UnSubscribeToJustPressedUserInput_Call) Run ¶
func (_c *Canvas_UnSubscribeToJustPressedUserInput_Call) Run(run func(in chan *turtlemodel.UserInput)) *Canvas_UnSubscribeToJustPressedUserInput_Call
func (*Canvas_UnSubscribeToJustPressedUserInput_Call) RunAndReturn ¶
func (_c *Canvas_UnSubscribeToJustPressedUserInput_Call) RunAndReturn(run func(chan *turtlemodel.UserInput)) *Canvas_UnSubscribeToJustPressedUserInput_Call
type Sprite ¶
Sprite is an autogenerated mock type for the Sprite type
func NewSprite ¶
NewSprite creates a new instance of Sprite. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Sprite) EXPECT ¶
func (_m *Sprite) EXPECT() *Sprite_Expecter
func (*Sprite) Get ¶
func (_m *Sprite) Get() turtlemodel.SpriteInfo
Get provides a mock function with given fields:
func (*Sprite) Set ¶
Set provides a mock function with given fields: visible, cartX, cartY, radianAngle
func (*Sprite) SetPosition ¶
SetPosition provides a mock function with given fields: cartX, cartY
func (*Sprite) SetRotation ¶
SetRotation provides a mock function with given fields: radianAngle
func (*Sprite) SetSpriteImage ¶
SetSpriteImage provides a mock function with given fields: _a0
func (*Sprite) SetSpriteImageArrow ¶
func (_m *Sprite) SetSpriteImageArrow()
SetSpriteImageArrow provides a mock function with given fields:
func (*Sprite) SetSpriteImageTurtle ¶
func (_m *Sprite) SetSpriteImageTurtle()
SetSpriteImageTurtle provides a mock function with given fields:
func (*Sprite) SetVisible ¶
SetVisible provides a mock function with given fields: visible
type Sprite_Expecter ¶
type Sprite_Expecter struct {
// contains filtered or unexported fields
}
func (*Sprite_Expecter) Get ¶
func (_e *Sprite_Expecter) Get() *Sprite_Get_Call
Get is a helper method to define mock.On call
func (*Sprite_Expecter) Set ¶
func (_e *Sprite_Expecter) Set(visible interface{}, cartX interface{}, cartY interface{}, radianAngle interface{}) *Sprite_Set_Call
Set is a helper method to define mock.On call
- visible bool
- cartX float64
- cartY float64
- radianAngle float64
func (*Sprite_Expecter) SetPosition ¶
func (_e *Sprite_Expecter) SetPosition(cartX interface{}, cartY interface{}) *Sprite_SetPosition_Call
SetPosition is a helper method to define mock.On call
- cartX float64
- cartY float64
func (*Sprite_Expecter) SetRotation ¶
func (_e *Sprite_Expecter) SetRotation(radianAngle interface{}) *Sprite_SetRotation_Call
SetRotation is a helper method to define mock.On call
- radianAngle float64
func (*Sprite_Expecter) SetScale ¶
func (_e *Sprite_Expecter) SetScale(scale interface{}) *Sprite_SetScale_Call
SetScale is a helper method to define mock.On call
- scale float64
func (*Sprite_Expecter) SetSpriteImage ¶
func (_e *Sprite_Expecter) SetSpriteImage(_a0 interface{}) *Sprite_SetSpriteImage_Call
SetSpriteImage is a helper method to define mock.On call
- _a0 image.Image
func (*Sprite_Expecter) SetSpriteImageArrow ¶
func (_e *Sprite_Expecter) SetSpriteImageArrow() *Sprite_SetSpriteImageArrow_Call
SetSpriteImageArrow is a helper method to define mock.On call
func (*Sprite_Expecter) SetSpriteImageTurtle ¶
func (_e *Sprite_Expecter) SetSpriteImageTurtle() *Sprite_SetSpriteImageTurtle_Call
SetSpriteImageTurtle is a helper method to define mock.On call
func (*Sprite_Expecter) SetVisible ¶
func (_e *Sprite_Expecter) SetVisible(visible interface{}) *Sprite_SetVisible_Call
SetVisible is a helper method to define mock.On call
- visible bool
type Sprite_Get_Call ¶
Sprite_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*Sprite_Get_Call) Return ¶
func (_c *Sprite_Get_Call) Return(_a0 turtlemodel.SpriteInfo) *Sprite_Get_Call
func (*Sprite_Get_Call) Run ¶
func (_c *Sprite_Get_Call) Run(run func()) *Sprite_Get_Call
func (*Sprite_Get_Call) RunAndReturn ¶
func (_c *Sprite_Get_Call) RunAndReturn(run func() turtlemodel.SpriteInfo) *Sprite_Get_Call
type Sprite_SetPosition_Call ¶
Sprite_SetPosition_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetPosition'
func (*Sprite_SetPosition_Call) Return ¶
func (_c *Sprite_SetPosition_Call) Return() *Sprite_SetPosition_Call
func (*Sprite_SetPosition_Call) Run ¶
func (_c *Sprite_SetPosition_Call) Run(run func(cartX float64, cartY float64)) *Sprite_SetPosition_Call
func (*Sprite_SetPosition_Call) RunAndReturn ¶
func (_c *Sprite_SetPosition_Call) RunAndReturn(run func(float64, float64)) *Sprite_SetPosition_Call
type Sprite_SetRotation_Call ¶
Sprite_SetRotation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetRotation'
func (*Sprite_SetRotation_Call) Return ¶
func (_c *Sprite_SetRotation_Call) Return() *Sprite_SetRotation_Call
func (*Sprite_SetRotation_Call) Run ¶
func (_c *Sprite_SetRotation_Call) Run(run func(radianAngle float64)) *Sprite_SetRotation_Call
func (*Sprite_SetRotation_Call) RunAndReturn ¶
func (_c *Sprite_SetRotation_Call) RunAndReturn(run func(float64)) *Sprite_SetRotation_Call
type Sprite_SetScale_Call ¶
Sprite_SetScale_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetScale'
func (*Sprite_SetScale_Call) Return ¶
func (_c *Sprite_SetScale_Call) Return() *Sprite_SetScale_Call
func (*Sprite_SetScale_Call) Run ¶
func (_c *Sprite_SetScale_Call) Run(run func(scale float64)) *Sprite_SetScale_Call
func (*Sprite_SetScale_Call) RunAndReturn ¶
func (_c *Sprite_SetScale_Call) RunAndReturn(run func(float64)) *Sprite_SetScale_Call
type Sprite_SetSpriteImageArrow_Call ¶
Sprite_SetSpriteImageArrow_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetSpriteImageArrow'
func (*Sprite_SetSpriteImageArrow_Call) Return ¶
func (_c *Sprite_SetSpriteImageArrow_Call) Return() *Sprite_SetSpriteImageArrow_Call
func (*Sprite_SetSpriteImageArrow_Call) Run ¶
func (_c *Sprite_SetSpriteImageArrow_Call) Run(run func()) *Sprite_SetSpriteImageArrow_Call
func (*Sprite_SetSpriteImageArrow_Call) RunAndReturn ¶
func (_c *Sprite_SetSpriteImageArrow_Call) RunAndReturn(run func()) *Sprite_SetSpriteImageArrow_Call
type Sprite_SetSpriteImageTurtle_Call ¶
Sprite_SetSpriteImageTurtle_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetSpriteImageTurtle'
func (*Sprite_SetSpriteImageTurtle_Call) Return ¶
func (_c *Sprite_SetSpriteImageTurtle_Call) Return() *Sprite_SetSpriteImageTurtle_Call
func (*Sprite_SetSpriteImageTurtle_Call) Run ¶
func (_c *Sprite_SetSpriteImageTurtle_Call) Run(run func()) *Sprite_SetSpriteImageTurtle_Call
func (*Sprite_SetSpriteImageTurtle_Call) RunAndReturn ¶
func (_c *Sprite_SetSpriteImageTurtle_Call) RunAndReturn(run func()) *Sprite_SetSpriteImageTurtle_Call
type Sprite_SetSpriteImage_Call ¶
Sprite_SetSpriteImage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetSpriteImage'
func (*Sprite_SetSpriteImage_Call) Return ¶
func (_c *Sprite_SetSpriteImage_Call) Return() *Sprite_SetSpriteImage_Call
func (*Sprite_SetSpriteImage_Call) Run ¶
func (_c *Sprite_SetSpriteImage_Call) Run(run func(_a0 image.Image)) *Sprite_SetSpriteImage_Call
func (*Sprite_SetSpriteImage_Call) RunAndReturn ¶
func (_c *Sprite_SetSpriteImage_Call) RunAndReturn(run func(image.Image)) *Sprite_SetSpriteImage_Call
type Sprite_SetVisible_Call ¶
Sprite_SetVisible_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetVisible'
func (*Sprite_SetVisible_Call) Return ¶
func (_c *Sprite_SetVisible_Call) Return() *Sprite_SetVisible_Call
func (*Sprite_SetVisible_Call) Run ¶
func (_c *Sprite_SetVisible_Call) Run(run func(visible bool)) *Sprite_SetVisible_Call
func (*Sprite_SetVisible_Call) RunAndReturn ¶
func (_c *Sprite_SetVisible_Call) RunAndReturn(run func(bool)) *Sprite_SetVisible_Call
type Sprite_Set_Call ¶
Sprite_Set_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Set'
func (*Sprite_Set_Call) Return ¶
func (_c *Sprite_Set_Call) Return() *Sprite_Set_Call
func (*Sprite_Set_Call) Run ¶
func (_c *Sprite_Set_Call) Run(run func(visible bool, cartX float64, cartY float64, radianAngle float64)) *Sprite_Set_Call
func (*Sprite_Set_Call) RunAndReturn ¶
func (_c *Sprite_Set_Call) RunAndReturn(run func(bool, float64, float64, float64)) *Sprite_Set_Call
type Turtle ¶
Turtle is an autogenerated mock type for the Turtle type
func NewTurtle ¶
NewTurtle creates a new instance of Turtle. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Turtle) Circle ¶
Circle provides a mock function with given fields: radius, angleAmountToDraw, steps
func (*Turtle) Clone ¶
func (_m *Turtle) Clone() turtlemodel.Turtle
Clone provides a mock function with given fields:
func (*Turtle) CompassMode ¶
func (_m *Turtle) CompassMode()
CompassMode provides a mock function with given fields:
func (*Turtle) DegreesMode ¶
func (_m *Turtle) DegreesMode()
DegreesMode provides a mock function with given fields:
func (*Turtle) EXPECT ¶
func (_m *Turtle) EXPECT() *Turtle_Expecter
func (*Turtle) GetAngleMode ¶
func (_m *Turtle) GetAngleMode() turtlemodel.AngleMode
GetAngleMode provides a mock function with given fields:
func (*Turtle) HideTurtle ¶
func (_m *Turtle) HideTurtle()
HideTurtle provides a mock function with given fields:
func (*Turtle) PanLeftward ¶
PanLeftward provides a mock function with given fields: distance
func (*Turtle) PanRightward ¶
PanRightward provides a mock function with given fields: distance
func (*Turtle) PenDown ¶
func (_m *Turtle) PenDown()
PenDown provides a mock function with given fields:
func (*Turtle) PointToward ¶
PointToward provides a mock function with given fields: x, y
func (*Turtle) RadiansMode ¶
func (_m *Turtle) RadiansMode()
RadiansMode provides a mock function with given fields:
func (*Turtle) ShapeAsArrow ¶
func (_m *Turtle) ShapeAsArrow()
ShapeAsArrow provides a mock function with given fields:
func (*Turtle) ShapeAsImage ¶
ShapeAsImage provides a mock function with given fields: in
func (*Turtle) ShapeAsTurtle ¶
func (_m *Turtle) ShapeAsTurtle()
ShapeAsTurtle provides a mock function with given fields:
func (*Turtle) ShapeScale ¶
ShapeScale provides a mock function with given fields: scale
func (*Turtle) ShowTurtle ¶
func (_m *Turtle) ShowTurtle()
ShowTurtle provides a mock function with given fields:
type Turtle_Angle_Call ¶
Turtle_Angle_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Angle'
func (*Turtle_Angle_Call) Return ¶
func (_c *Turtle_Angle_Call) Return() *Turtle_Angle_Call
func (*Turtle_Angle_Call) Run ¶
func (_c *Turtle_Angle_Call) Run(run func(angle float64)) *Turtle_Angle_Call
func (*Turtle_Angle_Call) RunAndReturn ¶
func (_c *Turtle_Angle_Call) RunAndReturn(run func(float64)) *Turtle_Angle_Call
type Turtle_B_Call ¶
Turtle_B_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'B'
func (*Turtle_B_Call) Return ¶
func (_c *Turtle_B_Call) Return() *Turtle_B_Call
func (*Turtle_B_Call) Run ¶
func (_c *Turtle_B_Call) Run(run func(distance float64)) *Turtle_B_Call
func (*Turtle_B_Call) RunAndReturn ¶
func (_c *Turtle_B_Call) RunAndReturn(run func(float64)) *Turtle_B_Call
type Turtle_Backward_Call ¶
Turtle_Backward_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Backward'
func (*Turtle_Backward_Call) Return ¶
func (_c *Turtle_Backward_Call) Return() *Turtle_Backward_Call
func (*Turtle_Backward_Call) Run ¶
func (_c *Turtle_Backward_Call) Run(run func(distance float64)) *Turtle_Backward_Call
func (*Turtle_Backward_Call) RunAndReturn ¶
func (_c *Turtle_Backward_Call) RunAndReturn(run func(float64)) *Turtle_Backward_Call
type Turtle_Circle_Call ¶
Turtle_Circle_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Circle'
func (*Turtle_Circle_Call) Return ¶
func (_c *Turtle_Circle_Call) Return() *Turtle_Circle_Call
func (*Turtle_Circle_Call) Run ¶
func (_c *Turtle_Circle_Call) Run(run func(radius float64, angleAmountToDraw float64, steps int)) *Turtle_Circle_Call
func (*Turtle_Circle_Call) RunAndReturn ¶
func (_c *Turtle_Circle_Call) RunAndReturn(run func(float64, float64, int)) *Turtle_Circle_Call
type Turtle_Clone_Call ¶
Turtle_Clone_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Clone'
func (*Turtle_Clone_Call) Return ¶
func (_c *Turtle_Clone_Call) Return(_a0 turtlemodel.Turtle) *Turtle_Clone_Call
func (*Turtle_Clone_Call) Run ¶
func (_c *Turtle_Clone_Call) Run(run func()) *Turtle_Clone_Call
func (*Turtle_Clone_Call) RunAndReturn ¶
func (_c *Turtle_Clone_Call) RunAndReturn(run func() turtlemodel.Turtle) *Turtle_Clone_Call
type Turtle_Color_Call ¶
Turtle_Color_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Color'
func (*Turtle_Color_Call) Return ¶
func (_c *Turtle_Color_Call) Return() *Turtle_Color_Call
func (*Turtle_Color_Call) Run ¶
func (_c *Turtle_Color_Call) Run(run func(c color.Color)) *Turtle_Color_Call
func (*Turtle_Color_Call) RunAndReturn ¶
func (_c *Turtle_Color_Call) RunAndReturn(run func(color.Color)) *Turtle_Color_Call
type Turtle_CompassMode_Call ¶
Turtle_CompassMode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CompassMode'
func (*Turtle_CompassMode_Call) Return ¶
func (_c *Turtle_CompassMode_Call) Return() *Turtle_CompassMode_Call
func (*Turtle_CompassMode_Call) Run ¶
func (_c *Turtle_CompassMode_Call) Run(run func()) *Turtle_CompassMode_Call
func (*Turtle_CompassMode_Call) RunAndReturn ¶
func (_c *Turtle_CompassMode_Call) RunAndReturn(run func()) *Turtle_CompassMode_Call
type Turtle_DegreesMode_Call ¶
Turtle_DegreesMode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DegreesMode'
func (*Turtle_DegreesMode_Call) Return ¶
func (_c *Turtle_DegreesMode_Call) Return() *Turtle_DegreesMode_Call
func (*Turtle_DegreesMode_Call) Run ¶
func (_c *Turtle_DegreesMode_Call) Run(run func()) *Turtle_DegreesMode_Call
func (*Turtle_DegreesMode_Call) RunAndReturn ¶
func (_c *Turtle_DegreesMode_Call) RunAndReturn(run func()) *Turtle_DegreesMode_Call
type Turtle_Dot_Call ¶
Turtle_Dot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Dot'
func (*Turtle_Dot_Call) Return ¶
func (_c *Turtle_Dot_Call) Return() *Turtle_Dot_Call
func (*Turtle_Dot_Call) Run ¶
func (_c *Turtle_Dot_Call) Run(run func(size float64)) *Turtle_Dot_Call
func (*Turtle_Dot_Call) RunAndReturn ¶
func (_c *Turtle_Dot_Call) RunAndReturn(run func(float64)) *Turtle_Dot_Call
type Turtle_Expecter ¶
type Turtle_Expecter struct {
// contains filtered or unexported fields
}
func (*Turtle_Expecter) Angle ¶
func (_e *Turtle_Expecter) Angle(angle interface{}) *Turtle_Angle_Call
Angle is a helper method to define mock.On call
- angle float64
func (*Turtle_Expecter) B ¶
func (_e *Turtle_Expecter) B(distance interface{}) *Turtle_B_Call
B is a helper method to define mock.On call
- distance float64
func (*Turtle_Expecter) Backward ¶
func (_e *Turtle_Expecter) Backward(distance interface{}) *Turtle_Backward_Call
Backward is a helper method to define mock.On call
- distance float64
func (*Turtle_Expecter) Circle ¶
func (_e *Turtle_Expecter) Circle(radius interface{}, angleAmountToDraw interface{}, steps interface{}) *Turtle_Circle_Call
Circle is a helper method to define mock.On call
- radius float64
- angleAmountToDraw float64
- steps int
func (*Turtle_Expecter) Clone ¶
func (_e *Turtle_Expecter) Clone() *Turtle_Clone_Call
Clone is a helper method to define mock.On call
func (*Turtle_Expecter) Color ¶
func (_e *Turtle_Expecter) Color(c interface{}) *Turtle_Color_Call
Color is a helper method to define mock.On call
- c color.Color
func (*Turtle_Expecter) CompassMode ¶
func (_e *Turtle_Expecter) CompassMode() *Turtle_CompassMode_Call
CompassMode is a helper method to define mock.On call
func (*Turtle_Expecter) DegreesMode ¶
func (_e *Turtle_Expecter) DegreesMode() *Turtle_DegreesMode_Call
DegreesMode is a helper method to define mock.On call
func (*Turtle_Expecter) Dot ¶
func (_e *Turtle_Expecter) Dot(size interface{}) *Turtle_Dot_Call
Dot is a helper method to define mock.On call
- size float64
func (*Turtle_Expecter) F ¶
func (_e *Turtle_Expecter) F(distance interface{}) *Turtle_F_Call
F is a helper method to define mock.On call
- distance float64
func (*Turtle_Expecter) Fill ¶
func (_e *Turtle_Expecter) Fill(c interface{}) *Turtle_Fill_Call
Fill is a helper method to define mock.On call
- c color.Color
func (*Turtle_Expecter) Forward ¶
func (_e *Turtle_Expecter) Forward(distance interface{}) *Turtle_Forward_Call
Forward is a helper method to define mock.On call
- distance float64
func (*Turtle_Expecter) GetAngle ¶
func (_e *Turtle_Expecter) GetAngle() *Turtle_GetAngle_Call
GetAngle is a helper method to define mock.On call
func (*Turtle_Expecter) GetAngleMode ¶
func (_e *Turtle_Expecter) GetAngleMode() *Turtle_GetAngleMode_Call
GetAngleMode is a helper method to define mock.On call
func (*Turtle_Expecter) GetColor ¶
func (_e *Turtle_Expecter) GetColor() *Turtle_GetColor_Call
GetColor is a helper method to define mock.On call
func (*Turtle_Expecter) GetPos ¶
func (_e *Turtle_Expecter) GetPos() *Turtle_GetPos_Call
GetPos is a helper method to define mock.On call
func (*Turtle_Expecter) GetSize ¶
func (_e *Turtle_Expecter) GetSize() *Turtle_GetSize_Call
GetSize is a helper method to define mock.On call
func (*Turtle_Expecter) GetSpeed ¶
func (_e *Turtle_Expecter) GetSpeed() *Turtle_GetSpeed_Call
GetSpeed is a helper method to define mock.On call
func (*Turtle_Expecter) GoTo ¶
func (_e *Turtle_Expecter) GoTo(x interface{}, y interface{}) *Turtle_GoTo_Call
GoTo is a helper method to define mock.On call
- x float64
- y float64
func (*Turtle_Expecter) HideTurtle ¶
func (_e *Turtle_Expecter) HideTurtle() *Turtle_HideTurtle_Call
HideTurtle is a helper method to define mock.On call
func (*Turtle_Expecter) IsPenDown ¶
func (_e *Turtle_Expecter) IsPenDown() *Turtle_IsPenDown_Call
IsPenDown is a helper method to define mock.On call
func (*Turtle_Expecter) L ¶
func (_e *Turtle_Expecter) L(angle interface{}) *Turtle_L_Call
L is a helper method to define mock.On call
- angle float64
func (*Turtle_Expecter) Left ¶
func (_e *Turtle_Expecter) Left(angle interface{}) *Turtle_Left_Call
Left is a helper method to define mock.On call
- angle float64
func (*Turtle_Expecter) Off ¶
func (_e *Turtle_Expecter) Off() *Turtle_Off_Call
Off is a helper method to define mock.On call
func (*Turtle_Expecter) On ¶
func (_e *Turtle_Expecter) On() *Turtle_On_Call
On is a helper method to define mock.On call
func (*Turtle_Expecter) PD ¶
func (_e *Turtle_Expecter) PD() *Turtle_PD_Call
PD is a helper method to define mock.On call
func (*Turtle_Expecter) PU ¶
func (_e *Turtle_Expecter) PU() *Turtle_PU_Call
PU is a helper method to define mock.On call
func (*Turtle_Expecter) PanL ¶
func (_e *Turtle_Expecter) PanL(distance interface{}) *Turtle_PanL_Call
PanL is a helper method to define mock.On call
- distance float64
func (*Turtle_Expecter) PanLeftward ¶
func (_e *Turtle_Expecter) PanLeftward(distance interface{}) *Turtle_PanLeftward_Call
PanLeftward is a helper method to define mock.On call
- distance float64
func (*Turtle_Expecter) PanR ¶
func (_e *Turtle_Expecter) PanR(distance interface{}) *Turtle_PanR_Call
PanR is a helper method to define mock.On call
- distance float64
func (*Turtle_Expecter) PanRightward ¶
func (_e *Turtle_Expecter) PanRightward(distance interface{}) *Turtle_PanRightward_Call
PanRightward is a helper method to define mock.On call
- distance float64
func (*Turtle_Expecter) PenDown ¶
func (_e *Turtle_Expecter) PenDown() *Turtle_PenDown_Call
PenDown is a helper method to define mock.On call
func (*Turtle_Expecter) PenUp ¶
func (_e *Turtle_Expecter) PenUp() *Turtle_PenUp_Call
PenUp is a helper method to define mock.On call
func (*Turtle_Expecter) PointToward ¶
func (_e *Turtle_Expecter) PointToward(x interface{}, y interface{}) *Turtle_PointToward_Call
PointToward is a helper method to define mock.On call
- x float64
- y float64
func (*Turtle_Expecter) R ¶
func (_e *Turtle_Expecter) R(angle interface{}) *Turtle_R_Call
R is a helper method to define mock.On call
- angle float64
func (*Turtle_Expecter) RadiansMode ¶
func (_e *Turtle_Expecter) RadiansMode() *Turtle_RadiansMode_Call
RadiansMode is a helper method to define mock.On call
func (*Turtle_Expecter) Right ¶
func (_e *Turtle_Expecter) Right(angle interface{}) *Turtle_Right_Call
Right is a helper method to define mock.On call
- angle float64
func (*Turtle_Expecter) ShapeAsArrow ¶
func (_e *Turtle_Expecter) ShapeAsArrow() *Turtle_ShapeAsArrow_Call
ShapeAsArrow is a helper method to define mock.On call
func (*Turtle_Expecter) ShapeAsImage ¶
func (_e *Turtle_Expecter) ShapeAsImage(in interface{}) *Turtle_ShapeAsImage_Call
ShapeAsImage is a helper method to define mock.On call
- in image.Image
func (*Turtle_Expecter) ShapeAsTurtle ¶
func (_e *Turtle_Expecter) ShapeAsTurtle() *Turtle_ShapeAsTurtle_Call
ShapeAsTurtle is a helper method to define mock.On call
func (*Turtle_Expecter) ShapeScale ¶
func (_e *Turtle_Expecter) ShapeScale(scale interface{}) *Turtle_ShapeScale_Call
ShapeScale is a helper method to define mock.On call
- scale float64
func (*Turtle_Expecter) ShowTurtle ¶
func (_e *Turtle_Expecter) ShowTurtle() *Turtle_ShowTurtle_Call
ShowTurtle is a helper method to define mock.On call
func (*Turtle_Expecter) Size ¶
func (_e *Turtle_Expecter) Size(size interface{}) *Turtle_Size_Call
Size is a helper method to define mock.On call
- size float64
func (*Turtle_Expecter) Speed ¶
func (_e *Turtle_Expecter) Speed(PixelsPerSecond interface{}) *Turtle_Speed_Call
Speed is a helper method to define mock.On call
- PixelsPerSecond float64
type Turtle_F_Call ¶
Turtle_F_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'F'
func (*Turtle_F_Call) Return ¶
func (_c *Turtle_F_Call) Return() *Turtle_F_Call
func (*Turtle_F_Call) Run ¶
func (_c *Turtle_F_Call) Run(run func(distance float64)) *Turtle_F_Call
func (*Turtle_F_Call) RunAndReturn ¶
func (_c *Turtle_F_Call) RunAndReturn(run func(float64)) *Turtle_F_Call
type Turtle_Fill_Call ¶
Turtle_Fill_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Fill'
func (*Turtle_Fill_Call) Return ¶
func (_c *Turtle_Fill_Call) Return() *Turtle_Fill_Call
func (*Turtle_Fill_Call) Run ¶
func (_c *Turtle_Fill_Call) Run(run func(c color.Color)) *Turtle_Fill_Call
func (*Turtle_Fill_Call) RunAndReturn ¶
func (_c *Turtle_Fill_Call) RunAndReturn(run func(color.Color)) *Turtle_Fill_Call
type Turtle_Forward_Call ¶
Turtle_Forward_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Forward'
func (*Turtle_Forward_Call) Return ¶
func (_c *Turtle_Forward_Call) Return() *Turtle_Forward_Call
func (*Turtle_Forward_Call) Run ¶
func (_c *Turtle_Forward_Call) Run(run func(distance float64)) *Turtle_Forward_Call
func (*Turtle_Forward_Call) RunAndReturn ¶
func (_c *Turtle_Forward_Call) RunAndReturn(run func(float64)) *Turtle_Forward_Call
type Turtle_GetAngleMode_Call ¶
Turtle_GetAngleMode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAngleMode'
func (*Turtle_GetAngleMode_Call) Return ¶
func (_c *Turtle_GetAngleMode_Call) Return(_a0 turtlemodel.AngleMode) *Turtle_GetAngleMode_Call
func (*Turtle_GetAngleMode_Call) Run ¶
func (_c *Turtle_GetAngleMode_Call) Run(run func()) *Turtle_GetAngleMode_Call
func (*Turtle_GetAngleMode_Call) RunAndReturn ¶
func (_c *Turtle_GetAngleMode_Call) RunAndReturn(run func() turtlemodel.AngleMode) *Turtle_GetAngleMode_Call
type Turtle_GetAngle_Call ¶
Turtle_GetAngle_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAngle'
func (*Turtle_GetAngle_Call) Return ¶
func (_c *Turtle_GetAngle_Call) Return(_a0 float64) *Turtle_GetAngle_Call
func (*Turtle_GetAngle_Call) Run ¶
func (_c *Turtle_GetAngle_Call) Run(run func()) *Turtle_GetAngle_Call
func (*Turtle_GetAngle_Call) RunAndReturn ¶
func (_c *Turtle_GetAngle_Call) RunAndReturn(run func() float64) *Turtle_GetAngle_Call
type Turtle_GetColor_Call ¶
Turtle_GetColor_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetColor'
func (*Turtle_GetColor_Call) Return ¶
func (_c *Turtle_GetColor_Call) Return(_a0 color.Color) *Turtle_GetColor_Call
func (*Turtle_GetColor_Call) Run ¶
func (_c *Turtle_GetColor_Call) Run(run func()) *Turtle_GetColor_Call
func (*Turtle_GetColor_Call) RunAndReturn ¶
func (_c *Turtle_GetColor_Call) RunAndReturn(run func() color.Color) *Turtle_GetColor_Call
type Turtle_GetPos_Call ¶
Turtle_GetPos_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPos'
func (*Turtle_GetPos_Call) Return ¶
func (_c *Turtle_GetPos_Call) Return(x float64, y float64) *Turtle_GetPos_Call
func (*Turtle_GetPos_Call) Run ¶
func (_c *Turtle_GetPos_Call) Run(run func()) *Turtle_GetPos_Call
func (*Turtle_GetPos_Call) RunAndReturn ¶
func (_c *Turtle_GetPos_Call) RunAndReturn(run func() (float64, float64)) *Turtle_GetPos_Call
type Turtle_GetSize_Call ¶
Turtle_GetSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSize'
func (*Turtle_GetSize_Call) Return ¶
func (_c *Turtle_GetSize_Call) Return(_a0 float64) *Turtle_GetSize_Call
func (*Turtle_GetSize_Call) Run ¶
func (_c *Turtle_GetSize_Call) Run(run func()) *Turtle_GetSize_Call
func (*Turtle_GetSize_Call) RunAndReturn ¶
func (_c *Turtle_GetSize_Call) RunAndReturn(run func() float64) *Turtle_GetSize_Call
type Turtle_GetSpeed_Call ¶
Turtle_GetSpeed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSpeed'
func (*Turtle_GetSpeed_Call) Return ¶
func (_c *Turtle_GetSpeed_Call) Return(_a0 float64) *Turtle_GetSpeed_Call
func (*Turtle_GetSpeed_Call) Run ¶
func (_c *Turtle_GetSpeed_Call) Run(run func()) *Turtle_GetSpeed_Call
func (*Turtle_GetSpeed_Call) RunAndReturn ¶
func (_c *Turtle_GetSpeed_Call) RunAndReturn(run func() float64) *Turtle_GetSpeed_Call
type Turtle_GoTo_Call ¶
Turtle_GoTo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GoTo'
func (*Turtle_GoTo_Call) Return ¶
func (_c *Turtle_GoTo_Call) Return() *Turtle_GoTo_Call
func (*Turtle_GoTo_Call) Run ¶
func (_c *Turtle_GoTo_Call) Run(run func(x float64, y float64)) *Turtle_GoTo_Call
func (*Turtle_GoTo_Call) RunAndReturn ¶
func (_c *Turtle_GoTo_Call) RunAndReturn(run func(float64, float64)) *Turtle_GoTo_Call
type Turtle_HideTurtle_Call ¶
Turtle_HideTurtle_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HideTurtle'
func (*Turtle_HideTurtle_Call) Return ¶
func (_c *Turtle_HideTurtle_Call) Return() *Turtle_HideTurtle_Call
func (*Turtle_HideTurtle_Call) Run ¶
func (_c *Turtle_HideTurtle_Call) Run(run func()) *Turtle_HideTurtle_Call
func (*Turtle_HideTurtle_Call) RunAndReturn ¶
func (_c *Turtle_HideTurtle_Call) RunAndReturn(run func()) *Turtle_HideTurtle_Call
type Turtle_IsPenDown_Call ¶
Turtle_IsPenDown_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsPenDown'
func (*Turtle_IsPenDown_Call) Return ¶
func (_c *Turtle_IsPenDown_Call) Return(_a0 bool) *Turtle_IsPenDown_Call
func (*Turtle_IsPenDown_Call) Run ¶
func (_c *Turtle_IsPenDown_Call) Run(run func()) *Turtle_IsPenDown_Call
func (*Turtle_IsPenDown_Call) RunAndReturn ¶
func (_c *Turtle_IsPenDown_Call) RunAndReturn(run func() bool) *Turtle_IsPenDown_Call
type Turtle_L_Call ¶
Turtle_L_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'L'
func (*Turtle_L_Call) Return ¶
func (_c *Turtle_L_Call) Return() *Turtle_L_Call
func (*Turtle_L_Call) Run ¶
func (_c *Turtle_L_Call) Run(run func(angle float64)) *Turtle_L_Call
func (*Turtle_L_Call) RunAndReturn ¶
func (_c *Turtle_L_Call) RunAndReturn(run func(float64)) *Turtle_L_Call
type Turtle_Left_Call ¶
Turtle_Left_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Left'
func (*Turtle_Left_Call) Return ¶
func (_c *Turtle_Left_Call) Return() *Turtle_Left_Call
func (*Turtle_Left_Call) Run ¶
func (_c *Turtle_Left_Call) Run(run func(angle float64)) *Turtle_Left_Call
func (*Turtle_Left_Call) RunAndReturn ¶
func (_c *Turtle_Left_Call) RunAndReturn(run func(float64)) *Turtle_Left_Call
type Turtle_Off_Call ¶
Turtle_Off_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Off'
func (*Turtle_Off_Call) Return ¶
func (_c *Turtle_Off_Call) Return() *Turtle_Off_Call
func (*Turtle_Off_Call) Run ¶
func (_c *Turtle_Off_Call) Run(run func()) *Turtle_Off_Call
func (*Turtle_Off_Call) RunAndReturn ¶
func (_c *Turtle_Off_Call) RunAndReturn(run func()) *Turtle_Off_Call
type Turtle_On_Call ¶
Turtle_On_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'On'
func (*Turtle_On_Call) Return ¶
func (_c *Turtle_On_Call) Return() *Turtle_On_Call
func (*Turtle_On_Call) Run ¶
func (_c *Turtle_On_Call) Run(run func()) *Turtle_On_Call
func (*Turtle_On_Call) RunAndReturn ¶
func (_c *Turtle_On_Call) RunAndReturn(run func()) *Turtle_On_Call
type Turtle_PD_Call ¶
Turtle_PD_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PD'
func (*Turtle_PD_Call) Return ¶
func (_c *Turtle_PD_Call) Return() *Turtle_PD_Call
func (*Turtle_PD_Call) Run ¶
func (_c *Turtle_PD_Call) Run(run func()) *Turtle_PD_Call
func (*Turtle_PD_Call) RunAndReturn ¶
func (_c *Turtle_PD_Call) RunAndReturn(run func()) *Turtle_PD_Call
type Turtle_PU_Call ¶
Turtle_PU_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PU'
func (*Turtle_PU_Call) Return ¶
func (_c *Turtle_PU_Call) Return() *Turtle_PU_Call
func (*Turtle_PU_Call) Run ¶
func (_c *Turtle_PU_Call) Run(run func()) *Turtle_PU_Call
func (*Turtle_PU_Call) RunAndReturn ¶
func (_c *Turtle_PU_Call) RunAndReturn(run func()) *Turtle_PU_Call
type Turtle_PanL_Call ¶
Turtle_PanL_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PanL'
func (*Turtle_PanL_Call) Return ¶
func (_c *Turtle_PanL_Call) Return() *Turtle_PanL_Call
func (*Turtle_PanL_Call) Run ¶
func (_c *Turtle_PanL_Call) Run(run func(distance float64)) *Turtle_PanL_Call
func (*Turtle_PanL_Call) RunAndReturn ¶
func (_c *Turtle_PanL_Call) RunAndReturn(run func(float64)) *Turtle_PanL_Call
type Turtle_PanLeftward_Call ¶
Turtle_PanLeftward_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PanLeftward'
func (*Turtle_PanLeftward_Call) Return ¶
func (_c *Turtle_PanLeftward_Call) Return() *Turtle_PanLeftward_Call
func (*Turtle_PanLeftward_Call) Run ¶
func (_c *Turtle_PanLeftward_Call) Run(run func(distance float64)) *Turtle_PanLeftward_Call
func (*Turtle_PanLeftward_Call) RunAndReturn ¶
func (_c *Turtle_PanLeftward_Call) RunAndReturn(run func(float64)) *Turtle_PanLeftward_Call
type Turtle_PanR_Call ¶
Turtle_PanR_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PanR'
func (*Turtle_PanR_Call) Return ¶
func (_c *Turtle_PanR_Call) Return() *Turtle_PanR_Call
func (*Turtle_PanR_Call) Run ¶
func (_c *Turtle_PanR_Call) Run(run func(distance float64)) *Turtle_PanR_Call
func (*Turtle_PanR_Call) RunAndReturn ¶
func (_c *Turtle_PanR_Call) RunAndReturn(run func(float64)) *Turtle_PanR_Call
type Turtle_PanRightward_Call ¶
Turtle_PanRightward_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PanRightward'
func (*Turtle_PanRightward_Call) Return ¶
func (_c *Turtle_PanRightward_Call) Return() *Turtle_PanRightward_Call
func (*Turtle_PanRightward_Call) Run ¶
func (_c *Turtle_PanRightward_Call) Run(run func(distance float64)) *Turtle_PanRightward_Call
func (*Turtle_PanRightward_Call) RunAndReturn ¶
func (_c *Turtle_PanRightward_Call) RunAndReturn(run func(float64)) *Turtle_PanRightward_Call
type Turtle_PenDown_Call ¶
Turtle_PenDown_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PenDown'
func (*Turtle_PenDown_Call) Return ¶
func (_c *Turtle_PenDown_Call) Return() *Turtle_PenDown_Call
func (*Turtle_PenDown_Call) Run ¶
func (_c *Turtle_PenDown_Call) Run(run func()) *Turtle_PenDown_Call
func (*Turtle_PenDown_Call) RunAndReturn ¶
func (_c *Turtle_PenDown_Call) RunAndReturn(run func()) *Turtle_PenDown_Call
type Turtle_PenUp_Call ¶
Turtle_PenUp_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PenUp'
func (*Turtle_PenUp_Call) Return ¶
func (_c *Turtle_PenUp_Call) Return() *Turtle_PenUp_Call
func (*Turtle_PenUp_Call) Run ¶
func (_c *Turtle_PenUp_Call) Run(run func()) *Turtle_PenUp_Call
func (*Turtle_PenUp_Call) RunAndReturn ¶
func (_c *Turtle_PenUp_Call) RunAndReturn(run func()) *Turtle_PenUp_Call
type Turtle_PointToward_Call ¶
Turtle_PointToward_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PointToward'
func (*Turtle_PointToward_Call) Return ¶
func (_c *Turtle_PointToward_Call) Return() *Turtle_PointToward_Call
func (*Turtle_PointToward_Call) Run ¶
func (_c *Turtle_PointToward_Call) Run(run func(x float64, y float64)) *Turtle_PointToward_Call
func (*Turtle_PointToward_Call) RunAndReturn ¶
func (_c *Turtle_PointToward_Call) RunAndReturn(run func(float64, float64)) *Turtle_PointToward_Call
type Turtle_R_Call ¶
Turtle_R_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'R'
func (*Turtle_R_Call) Return ¶
func (_c *Turtle_R_Call) Return() *Turtle_R_Call
func (*Turtle_R_Call) Run ¶
func (_c *Turtle_R_Call) Run(run func(angle float64)) *Turtle_R_Call
func (*Turtle_R_Call) RunAndReturn ¶
func (_c *Turtle_R_Call) RunAndReturn(run func(float64)) *Turtle_R_Call
type Turtle_RadiansMode_Call ¶
Turtle_RadiansMode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RadiansMode'
func (*Turtle_RadiansMode_Call) Return ¶
func (_c *Turtle_RadiansMode_Call) Return() *Turtle_RadiansMode_Call
func (*Turtle_RadiansMode_Call) Run ¶
func (_c *Turtle_RadiansMode_Call) Run(run func()) *Turtle_RadiansMode_Call
func (*Turtle_RadiansMode_Call) RunAndReturn ¶
func (_c *Turtle_RadiansMode_Call) RunAndReturn(run func()) *Turtle_RadiansMode_Call
type Turtle_Right_Call ¶
Turtle_Right_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Right'
func (*Turtle_Right_Call) Return ¶
func (_c *Turtle_Right_Call) Return() *Turtle_Right_Call
func (*Turtle_Right_Call) Run ¶
func (_c *Turtle_Right_Call) Run(run func(angle float64)) *Turtle_Right_Call
func (*Turtle_Right_Call) RunAndReturn ¶
func (_c *Turtle_Right_Call) RunAndReturn(run func(float64)) *Turtle_Right_Call
type Turtle_ShapeAsArrow_Call ¶
Turtle_ShapeAsArrow_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ShapeAsArrow'
func (*Turtle_ShapeAsArrow_Call) Return ¶
func (_c *Turtle_ShapeAsArrow_Call) Return() *Turtle_ShapeAsArrow_Call
func (*Turtle_ShapeAsArrow_Call) Run ¶
func (_c *Turtle_ShapeAsArrow_Call) Run(run func()) *Turtle_ShapeAsArrow_Call
func (*Turtle_ShapeAsArrow_Call) RunAndReturn ¶
func (_c *Turtle_ShapeAsArrow_Call) RunAndReturn(run func()) *Turtle_ShapeAsArrow_Call
type Turtle_ShapeAsImage_Call ¶
Turtle_ShapeAsImage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ShapeAsImage'
func (*Turtle_ShapeAsImage_Call) Return ¶
func (_c *Turtle_ShapeAsImage_Call) Return() *Turtle_ShapeAsImage_Call
func (*Turtle_ShapeAsImage_Call) Run ¶
func (_c *Turtle_ShapeAsImage_Call) Run(run func(in image.Image)) *Turtle_ShapeAsImage_Call
func (*Turtle_ShapeAsImage_Call) RunAndReturn ¶
func (_c *Turtle_ShapeAsImage_Call) RunAndReturn(run func(image.Image)) *Turtle_ShapeAsImage_Call
type Turtle_ShapeAsTurtle_Call ¶
Turtle_ShapeAsTurtle_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ShapeAsTurtle'
func (*Turtle_ShapeAsTurtle_Call) Return ¶
func (_c *Turtle_ShapeAsTurtle_Call) Return() *Turtle_ShapeAsTurtle_Call
func (*Turtle_ShapeAsTurtle_Call) Run ¶
func (_c *Turtle_ShapeAsTurtle_Call) Run(run func()) *Turtle_ShapeAsTurtle_Call
func (*Turtle_ShapeAsTurtle_Call) RunAndReturn ¶
func (_c *Turtle_ShapeAsTurtle_Call) RunAndReturn(run func()) *Turtle_ShapeAsTurtle_Call
type Turtle_ShapeScale_Call ¶
Turtle_ShapeScale_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ShapeScale'
func (*Turtle_ShapeScale_Call) Return ¶
func (_c *Turtle_ShapeScale_Call) Return() *Turtle_ShapeScale_Call
func (*Turtle_ShapeScale_Call) Run ¶
func (_c *Turtle_ShapeScale_Call) Run(run func(scale float64)) *Turtle_ShapeScale_Call
func (*Turtle_ShapeScale_Call) RunAndReturn ¶
func (_c *Turtle_ShapeScale_Call) RunAndReturn(run func(float64)) *Turtle_ShapeScale_Call
type Turtle_ShowTurtle_Call ¶
Turtle_ShowTurtle_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ShowTurtle'
func (*Turtle_ShowTurtle_Call) Return ¶
func (_c *Turtle_ShowTurtle_Call) Return() *Turtle_ShowTurtle_Call
func (*Turtle_ShowTurtle_Call) Run ¶
func (_c *Turtle_ShowTurtle_Call) Run(run func()) *Turtle_ShowTurtle_Call
func (*Turtle_ShowTurtle_Call) RunAndReturn ¶
func (_c *Turtle_ShowTurtle_Call) RunAndReturn(run func()) *Turtle_ShowTurtle_Call
type Turtle_Size_Call ¶
Turtle_Size_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Size'
func (*Turtle_Size_Call) Return ¶
func (_c *Turtle_Size_Call) Return() *Turtle_Size_Call
func (*Turtle_Size_Call) Run ¶
func (_c *Turtle_Size_Call) Run(run func(size float64)) *Turtle_Size_Call
func (*Turtle_Size_Call) RunAndReturn ¶
func (_c *Turtle_Size_Call) RunAndReturn(run func(float64)) *Turtle_Size_Call
type Turtle_Speed_Call ¶
Turtle_Speed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Speed'
func (*Turtle_Speed_Call) Return ¶
func (_c *Turtle_Speed_Call) Return() *Turtle_Speed_Call
func (*Turtle_Speed_Call) Run ¶
func (_c *Turtle_Speed_Call) Run(run func(PixelsPerSecond float64)) *Turtle_Speed_Call
func (*Turtle_Speed_Call) RunAndReturn ¶
func (_c *Turtle_Speed_Call) RunAndReturn(run func(float64)) *Turtle_Speed_Call