mocks

package
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Canvas

type Canvas struct {
	mock.Mock
}

Canvas is an autogenerated mock type for the Canvas type

func NewCanvas

func NewCanvas(t interface {
	mock.TestingT
	Cleanup(func())
}) *Canvas

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

func (_m *Canvas) ClearScreen(c color.Color)

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) Exit

func (_m *Canvas) Exit()

Exit provides a mock function with given fields:

func (*Canvas) Fill

func (_m *Canvas) Fill(x int, y int, c color.Color)

Fill provides a mock function with given fields: x, y, c

func (*Canvas) GetHeight

func (_m *Canvas) GetHeight() int

GetHeight provides a mock function with given fields:

func (*Canvas) GetScreenshot

func (_m *Canvas) GetScreenshot() image.Image

GetScreenshot provides a mock function with given fields:

func (*Canvas) GetWidth

func (_m *Canvas) GetWidth() int

GetWidth 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

func (_m *Canvas) SetCartesianPixel(x int, y int, c color.Color)

SetCartesianPixel provides a mock function with given fields: x, y, c

func (*Canvas) SetPixel

func (_m *Canvas) SetPixel(x int, y int, c color.Color)

SetPixel 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

type Canvas_ClearScreen_Call struct {
	*mock.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 (*Canvas_ClearScreen_Call) Run

func (*Canvas_ClearScreen_Call) RunAndReturn

func (_c *Canvas_ClearScreen_Call) RunAndReturn(run func(color.Color)) *Canvas_ClearScreen_Call

type Canvas_CreateNewSprite_Call

type Canvas_CreateNewSprite_Call struct {
	*mock.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 (*Canvas_CreateNewSprite_Call) Run

func (*Canvas_CreateNewSprite_Call) RunAndReturn

type Canvas_Exit_Call

type Canvas_Exit_Call struct {
	*mock.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

type Canvas_Fill_Call struct {
	*mock.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

type Canvas_GetHeight_Call struct {
	*mock.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 (*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

type Canvas_GetScreenshot_Call struct {
	*mock.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 (*Canvas_GetScreenshot_Call) Run

func (*Canvas_GetScreenshot_Call) RunAndReturn

func (_c *Canvas_GetScreenshot_Call) RunAndReturn(run func() image.Image) *Canvas_GetScreenshot_Call

type Canvas_GetWidth_Call

type Canvas_GetWidth_Call struct {
	*mock.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 (*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

type Canvas_PressedUserInput_Call struct {
	*mock.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 (*Canvas_PressedUserInput_Call) Run

func (*Canvas_PressedUserInput_Call) RunAndReturn

type Canvas_SetCartesianPixel_Call

type Canvas_SetCartesianPixel_Call struct {
	*mock.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 (*Canvas_SetCartesianPixel_Call) Run

func (*Canvas_SetCartesianPixel_Call) RunAndReturn

type Canvas_SetPixel_Call

type Canvas_SetPixel_Call struct {
	*mock.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 (*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

type Canvas_SubscribeToJustPressedUserInput_Call struct {
	*mock.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 (*Canvas_SubscribeToJustPressedUserInput_Call) Run

func (*Canvas_SubscribeToJustPressedUserInput_Call) RunAndReturn

type Canvas_UnSubscribeToJustPressedUserInput_Call

type Canvas_UnSubscribeToJustPressedUserInput_Call struct {
	*mock.Call
}

Canvas_UnSubscribeToJustPressedUserInput_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnSubscribeToJustPressedUserInput'

func (*Canvas_UnSubscribeToJustPressedUserInput_Call) Return

func (*Canvas_UnSubscribeToJustPressedUserInput_Call) Run

func (*Canvas_UnSubscribeToJustPressedUserInput_Call) RunAndReturn

type Sprite

type Sprite struct {
	mock.Mock
}

Sprite is an autogenerated mock type for the Sprite type

func NewSprite

func NewSprite(t interface {
	mock.TestingT
	Cleanup(func())
}) *Sprite

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

func (_m *Sprite) Set(visible bool, cartX float64, cartY float64, radianAngle float64)

Set provides a mock function with given fields: visible, cartX, cartY, radianAngle

func (*Sprite) SetPosition

func (_m *Sprite) SetPosition(cartX float64, cartY float64)

SetPosition provides a mock function with given fields: cartX, cartY

func (*Sprite) SetRotation

func (_m *Sprite) SetRotation(radianAngle float64)

SetRotation provides a mock function with given fields: radianAngle

func (*Sprite) SetScale

func (_m *Sprite) SetScale(scale float64)

SetScale provides a mock function with given fields: scale

func (*Sprite) SetSpriteImage

func (_m *Sprite) SetSpriteImage(_a0 image.Image)

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

func (_m *Sprite) SetVisible(visible bool)

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

type Sprite_Get_Call struct {
	*mock.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 (*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

type Sprite_SetPosition_Call struct {
	*mock.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 (*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

type Sprite_SetRotation_Call struct {
	*mock.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 (*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

type Sprite_SetScale_Call struct {
	*mock.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 (*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

type Sprite_SetSpriteImageArrow_Call struct {
	*mock.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 (*Sprite_SetSpriteImageArrow_Call) Run

func (*Sprite_SetSpriteImageArrow_Call) RunAndReturn

type Sprite_SetSpriteImageTurtle_Call

type Sprite_SetSpriteImageTurtle_Call struct {
	*mock.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 (*Sprite_SetSpriteImageTurtle_Call) Run

func (*Sprite_SetSpriteImageTurtle_Call) RunAndReturn

type Sprite_SetSpriteImage_Call

type Sprite_SetSpriteImage_Call struct {
	*mock.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 (*Sprite_SetSpriteImage_Call) Run

func (*Sprite_SetSpriteImage_Call) RunAndReturn

type Sprite_SetVisible_Call

type Sprite_SetVisible_Call struct {
	*mock.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 (*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

type Sprite_Set_Call struct {
	*mock.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

type Turtle struct {
	mock.Mock
}

Turtle is an autogenerated mock type for the Turtle type

func NewTurtle

func NewTurtle(t interface {
	mock.TestingT
	Cleanup(func())
}) *Turtle

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) Angle

func (_m *Turtle) Angle(angle float64)

Angle provides a mock function with given fields: angle

func (*Turtle) B

func (_m *Turtle) B(distance float64)

B provides a mock function with given fields: distance

func (*Turtle) Backward

func (_m *Turtle) Backward(distance float64)

Backward provides a mock function with given fields: distance

func (*Turtle) Circle

func (_m *Turtle) Circle(radius float64, angleAmountToDraw float64, steps int)

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) Color

func (_m *Turtle) Color(c color.Color)

Color provides a mock function with given fields: c

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) Dot

func (_m *Turtle) Dot(size float64)

Dot provides a mock function with given fields: size

func (*Turtle) EXPECT

func (_m *Turtle) EXPECT() *Turtle_Expecter

func (*Turtle) F

func (_m *Turtle) F(distance float64)

F provides a mock function with given fields: distance

func (*Turtle) Fill

func (_m *Turtle) Fill(c color.Color)

Fill provides a mock function with given fields: c

func (*Turtle) Forward

func (_m *Turtle) Forward(distance float64)

Forward provides a mock function with given fields: distance

func (*Turtle) GetAngle

func (_m *Turtle) GetAngle() float64

GetAngle provides a mock function with given fields:

func (*Turtle) GetAngleMode

func (_m *Turtle) GetAngleMode() turtlemodel.AngleMode

GetAngleMode provides a mock function with given fields:

func (*Turtle) GetColor

func (_m *Turtle) GetColor() color.Color

GetColor provides a mock function with given fields:

func (*Turtle) GetPos

func (_m *Turtle) GetPos() (float64, float64)

GetPos provides a mock function with given fields:

func (*Turtle) GetSize

func (_m *Turtle) GetSize() float64

GetSize provides a mock function with given fields:

func (*Turtle) GetSpeed

func (_m *Turtle) GetSpeed() float64

GetSpeed provides a mock function with given fields:

func (*Turtle) GoTo

func (_m *Turtle) GoTo(x float64, y float64)

GoTo provides a mock function with given fields: x, y

func (*Turtle) HideTurtle

func (_m *Turtle) HideTurtle()

HideTurtle provides a mock function with given fields:

func (*Turtle) IsPenDown

func (_m *Turtle) IsPenDown() bool

IsPenDown provides a mock function with given fields:

func (*Turtle) L

func (_m *Turtle) L(angle float64)

L provides a mock function with given fields: angle

func (*Turtle) Left

func (_m *Turtle) Left(angle float64)

Left provides a mock function with given fields: angle

func (*Turtle) Off

func (_m *Turtle) Off()

Off provides a mock function with given fields:

func (*Turtle) On

func (_m *Turtle) On()

On provides a mock function with given fields:

func (*Turtle) PD

func (_m *Turtle) PD()

PD provides a mock function with given fields:

func (*Turtle) PU

func (_m *Turtle) PU()

PU provides a mock function with given fields:

func (*Turtle) PanL

func (_m *Turtle) PanL(distance float64)

PanL provides a mock function with given fields: distance

func (*Turtle) PanLeftward

func (_m *Turtle) PanLeftward(distance float64)

PanLeftward provides a mock function with given fields: distance

func (*Turtle) PanR

func (_m *Turtle) PanR(distance float64)

PanR provides a mock function with given fields: distance

func (*Turtle) PanRightward

func (_m *Turtle) PanRightward(distance float64)

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) PenUp

func (_m *Turtle) PenUp()

PenUp provides a mock function with given fields:

func (*Turtle) PointToward

func (_m *Turtle) PointToward(x float64, y float64)

PointToward provides a mock function with given fields: x, y

func (*Turtle) R

func (_m *Turtle) R(angle float64)

R provides a mock function with given fields: angle

func (*Turtle) RadiansMode

func (_m *Turtle) RadiansMode()

RadiansMode provides a mock function with given fields:

func (*Turtle) Right

func (_m *Turtle) Right(angle float64)

Right provides a mock function with given fields: angle

func (*Turtle) ShapeAsArrow

func (_m *Turtle) ShapeAsArrow()

ShapeAsArrow provides a mock function with given fields:

func (*Turtle) ShapeAsImage

func (_m *Turtle) ShapeAsImage(in image.Image)

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

func (_m *Turtle) ShapeScale(scale float64)

ShapeScale provides a mock function with given fields: scale

func (*Turtle) ShowTurtle

func (_m *Turtle) ShowTurtle()

ShowTurtle provides a mock function with given fields:

func (*Turtle) Size

func (_m *Turtle) Size(size float64)

Size provides a mock function with given fields: size

func (*Turtle) Speed

func (_m *Turtle) Speed(PixelsPerSecond float64)

Speed provides a mock function with given fields: PixelsPerSecond

type Turtle_Angle_Call

type Turtle_Angle_Call struct {
	*mock.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

type Turtle_B_Call struct {
	*mock.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

type Turtle_Backward_Call struct {
	*mock.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 (*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

type Turtle_Circle_Call struct {
	*mock.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

type Turtle_Clone_Call struct {
	*mock.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 (*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

type Turtle_Color_Call struct {
	*mock.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

type Turtle_CompassMode_Call struct {
	*mock.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 (*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

type Turtle_DegreesMode_Call struct {
	*mock.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 (*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

type Turtle_Dot_Call struct {
	*mock.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

type Turtle_F_Call struct {
	*mock.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

type Turtle_Fill_Call struct {
	*mock.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

type Turtle_Forward_Call struct {
	*mock.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 (*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

type Turtle_GetAngleMode_Call struct {
	*mock.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 (*Turtle_GetAngleMode_Call) Run

func (*Turtle_GetAngleMode_Call) RunAndReturn

type Turtle_GetAngle_Call

type Turtle_GetAngle_Call struct {
	*mock.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 (*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

type Turtle_GetColor_Call struct {
	*mock.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 (*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

type Turtle_GetPos_Call struct {
	*mock.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 (*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

type Turtle_GetSize_Call struct {
	*mock.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 (*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

type Turtle_GetSpeed_Call struct {
	*mock.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 (*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

type Turtle_GoTo_Call struct {
	*mock.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

type Turtle_HideTurtle_Call struct {
	*mock.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 (*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

type Turtle_IsPenDown_Call struct {
	*mock.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 (*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

type Turtle_L_Call struct {
	*mock.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

type Turtle_Left_Call struct {
	*mock.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

type Turtle_Off_Call struct {
	*mock.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

type Turtle_On_Call struct {
	*mock.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

type Turtle_PD_Call struct {
	*mock.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

type Turtle_PU_Call struct {
	*mock.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

type Turtle_PanL_Call struct {
	*mock.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

type Turtle_PanLeftward_Call struct {
	*mock.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 (*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

type Turtle_PanR_Call struct {
	*mock.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

type Turtle_PanRightward_Call struct {
	*mock.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 (*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

type Turtle_PenDown_Call struct {
	*mock.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 (*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

type Turtle_PenUp_Call struct {
	*mock.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

type Turtle_PointToward_Call struct {
	*mock.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 (*Turtle_PointToward_Call) Run

func (*Turtle_PointToward_Call) RunAndReturn

func (_c *Turtle_PointToward_Call) RunAndReturn(run func(float64, float64)) *Turtle_PointToward_Call

type Turtle_R_Call

type Turtle_R_Call struct {
	*mock.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

type Turtle_RadiansMode_Call struct {
	*mock.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 (*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

type Turtle_Right_Call struct {
	*mock.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

type Turtle_ShapeAsArrow_Call struct {
	*mock.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 (*Turtle_ShapeAsArrow_Call) Run

func (*Turtle_ShapeAsArrow_Call) RunAndReturn

func (_c *Turtle_ShapeAsArrow_Call) RunAndReturn(run func()) *Turtle_ShapeAsArrow_Call

type Turtle_ShapeAsImage_Call

type Turtle_ShapeAsImage_Call struct {
	*mock.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 (*Turtle_ShapeAsImage_Call) Run

func (*Turtle_ShapeAsImage_Call) RunAndReturn

func (_c *Turtle_ShapeAsImage_Call) RunAndReturn(run func(image.Image)) *Turtle_ShapeAsImage_Call

type Turtle_ShapeAsTurtle_Call

type Turtle_ShapeAsTurtle_Call struct {
	*mock.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 (*Turtle_ShapeAsTurtle_Call) Run

func (*Turtle_ShapeAsTurtle_Call) RunAndReturn

func (_c *Turtle_ShapeAsTurtle_Call) RunAndReturn(run func()) *Turtle_ShapeAsTurtle_Call

type Turtle_ShapeScale_Call

type Turtle_ShapeScale_Call struct {
	*mock.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 (*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

type Turtle_ShowTurtle_Call struct {
	*mock.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 (*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

type Turtle_Size_Call struct {
	*mock.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

type Turtle_Speed_Call struct {
	*mock.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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL