Beispiel #1
0
        public void ShouldGetFifteen()
        {
            var playerPoints = new PlayerGameScore();

            playerPoints.Win();
            Assert.AreEqual("15", playerPoints.Points);
        }
Beispiel #2
0
        public void ShouldGetThirty()
        {
            var playerPoints = new PlayerGameScore();

            playerPoints.Win();
            playerPoints.Win();
            Assert.AreEqual("30", playerPoints.Points);
        }
Beispiel #3
0
        public void ShouldWin()
        {
            var playerPoints = new PlayerGameScore();

            playerPoints.Win();
            playerPoints.Win();
            playerPoints.Win();
            playerPoints.Win();
            Assert.AreEqual("game", playerPoints.Points);
        }
Beispiel #4
0
        public void ShouldStartAtZero()
        {
            var playerPoints = new PlayerGameScore();

            Assert.AreEqual("0", playerPoints.Points);
        }