public void ACounterCanFlipBetweenColours(string originalColour, string newColour) { var counter = new Counter(originalColour); Assert.That(originalColour, Is.EqualTo(counter.ColourDisplayed)); counter.Flip(); Assert.That(newColour, Is.EqualTo(counter.ColourDisplayed)); }
public void ASquareKnowsItsContents(string newContents, string originalContents) { var square = new Square(); var counter = new Counter(); counter.Colour = originalContents; square.PlacePiece(counter); counter.Flip(); Assert.That(square.Contents().Colour, Is.EqualTo(newContents)); }