Ejemplo n.º 1
0
        public void IsFourOfAKind_FourOfAKind_true()
        {
            SolverPrototype      solver = new SolverPrototype("Deck1");
            HandFourOfAKind_Stub stub   = new HandFourOfAKind_Stub();
            bool expected = true;

            bool actual = solver.IsFourOfAKind(stub);

            Assert.That(actual, Is.EqualTo(expected));
        }
Ejemplo n.º 2
0
        public void IsFlush_NotFlush_False()
        {
            SolverPrototype      solver = new SolverPrototype("Deck1");
            HandFourOfAKind_Stub stub   = new HandFourOfAKind_Stub();
            bool expected = false;

            bool actual = solver.IsFlush(stub);

            Assert.That(actual, Is.EqualTo(expected));
        }
Ejemplo n.º 3
0
        public void IsFullHouse_FourOfAKind_False()
        {
            SolverPrototype solver = new SolverPrototype("Deck1");
            HandFourOfAKind_Stub stub = new HandFourOfAKind_Stub();
            bool expected = false;

            bool actual = solver.IsFullHouse(stub);
            Assert.That(actual, Is.EqualTo(expected));
        }