Example #1
0
 public bool manoCompleta(be.Mano mano, be.Partida partida)
 {
     bll.Truco trucoServices = new bll.Truco();
     if (mano.Jugadores.Count == 2)
     {
         trucoServices.CompararMano(mano, partida);
         return(true);
     }
     return(false);
 }
Example #2
0
        public void IniciarPartidaDeTruco()
        {
            bll.Truco trucoServices = new bll.Truco();

            jugadores.Add(new be.Jugador("Pedro"));
            jugadores.Add(new be.Jugador("Juan"));

            partida = trucoServices.IniciarJuego(jugadores);

            Assert.IsInstanceOfType(partida, typeof(be.Partida));
        }