Ejemplo n.º 1
0
        public void Go_PlayerPassesGoWithoutStopping_ShouldReceive200Dollars()
        {
            Player horse = new Player("Horse");
            Go     go    = new Go();

            go.Enter(horse);
            go.Exit(horse);

            Assert.Equal(200, horse.Bank);
        }
Ejemplo n.º 2
0
        public void Go_PlayerLandsOn_ShouldReceive200Dollars()
        {
            Player horse = new Player("Horse");
            Go     go    = new Go();

            go.Enter(horse);
            go.LandedOnBy(horse);

            Assert.Equal(200, horse.Bank);
        }