Exemplo n.º 1
0
 private static void RepeatRoll(_36 target, int numberOfRepeat, int eachDiceValue)
 {
     for (int repetition = 0; repetition < numberOfRepeat; repetition++)
     {
         target.Roll(eachDiceValue);
     }
 }
Exemplo n.º 2
0
        private static _36 CreateTarget()
        {
            var target = new _36();

            target.AddPlayer("toto");
            target.AddPlayer("titi");
            target.AddPlayer("tutu");
            return(target);
        }
Exemplo n.º 3
0
        public void a_game_can_not_start_with_no_player()
        {
            var target = new _36();

            Assert.Throws <_36Exception>(() => target.StartGame());
        }
Exemplo n.º 4
0
 private static void AssertPlayerHasNotLost(_36 target, string player)
 {
     Assert.DoesNotContain(target.LostPlayers, x => x == player);
 }
Exemplo n.º 5
0
 private static void AssertPlayerHasLost(_36 target, string player)
 {
     Assert.Contains(target.LostPlayers, x => x == player);
 }
Exemplo n.º 6
0
 op is InfusioOp <T> .CreateEmail _36?Exe(_36, _36, _36.Next, state, client) :