public void LoseToScissors() { var paper = new Paper(); var scissors = new Scissors(); var battleResult = ThrowDownBetween(paper, scissors); Assert.AreEqual(scissors, battleResult.Winner); }
public void BeatScissors() { var rock = new Rock(); var scissors = new Scissors(); var battleResult = ThrowDownBetween(rock, scissors); Assert.AreEqual(rock, battleResult.Winner); }
public void ShouldTellThatRockBeatsScissors() { var rock = new Rock(); var scissors = new Scissors(); var winner = new ThrowDownAdjudicator(scissors, rock).Winner(); Assert.AreEqual(rock, winner); }