examples

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2014 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package examples contains, well, examples of how to use goconvey to specify behavior of a system under test. It contains a well-known example by Robert C. Martin called "Bowling Game Kata" as well as another very trivial example that demonstrates Reset() and some of the assertions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Game

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

func NewGame

func NewGame() *Game

func (*Game) Roll

func (self *Game) Roll(pins int)

func (*Game) Score

func (self *Game) Score() int

Jump to

Keyboard shortcuts

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