mocks

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tactics

type Tactics struct {
	mock.Mock
}

Tactics is an autogenerated mock type for the Tactics type

func NewTactics

func NewTactics(t mockConstructorTestingTNewTactics) *Tactics

NewTactics creates a new instance of Tactics. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Tactics) Fight

func (_m *Tactics) Fight(champion1 lol.Champion, champion2 lol.Champion) lol.TacticsSol

Fight provides a mock function with given fields: champion1, champion2

func (*Tactics) ReadChampion

func (_m *Tactics) ReadChampion(filePath string) (lol.Champion, error)

ReadChampion provides a mock function with given fields: filePath

func (*Tactics) WriteChampion

func (_m *Tactics) WriteChampion(champion lol.Champion, filePath string) error

WriteChampion provides a mock function with given fields: champion, filePath

Jump to

Keyboard shortcuts

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