test_method_sets

package
v0.0.0-...-01cf3de Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Circle

type Circle int

func (Circle) Area

func (r Circle) Area() float64

func (Circle) Perimeter

func (r Circle) Perimeter() float64

type ConcreteMixer

type ConcreteMixer int

func (ConcreteMixer) Mix

func (ConcreteMixer) Mix()

type Mixer

type Mixer interface {
	Mix()
}

type Rectangle

type Rectangle struct {
	// contains filtered or unexported fields
}

func (Rectangle) Area

func (r Rectangle) Area() float64

func (Rectangle) Perimeter

func (r Rectangle) Perimeter() float64

type Shape

type Shape interface {
	Perimeter() float64
	Area() float64
}

type Shape1D

type Shape1D interface {
	Perimeter() float64
}

type Shape2D

type Shape2D interface {
	Area() float64
}

Jump to

Keyboard shortcuts

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