C# Class StoryTeller.Samples.Fixtures.SentenceFixture

Inheritance: Fixture
Exibir arquivo Open project: storyteller/Storyteller Class Usage Examples

Public Methods

Method Description
DivideBy ( int operand ) : void
JustGo ( ) : void
SentenceFixture ( ) : System
Subtract ( int operand ) : void
ThisLineAlwaysThrowsExceptions ( ) : void

Private Methods

Method Description
BadGrammar ( string one, string two ) : void
BadSentence ( string name ) : void
MultiplyThenAdd ( int multiplier, int delta ) : void
StartWithTheNumber ( int number = 5 ) : void
TheSumOf ( int number1, int number2 ) : int
TheValueShouldBe ( ) : int
ThisLineIsAlwaysFalse ( ) : bool
ThisLineIsAlwaysTrue ( ) : bool
XplusYShouldBe ( int x, int y, int sum ) : bool
say ( ) : void

Method Details

DivideBy() public method

public DivideBy ( int operand ) : void
operand int
return void

JustGo() public method

public JustGo ( ) : void
return void

SentenceFixture() public method

public SentenceFixture ( ) : System
return System

Subtract() public method

public Subtract ( int operand ) : void
operand int
return void

ThisLineAlwaysThrowsExceptions() public method

public ThisLineAlwaysThrowsExceptions ( ) : void
return void