Esempio n. 1
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));
        }
Esempio n. 2
0
        public void IsFlush_Flush_True()
        {
            SolverPrototype solver   = new SolverPrototype("Deck1");
            HandFlush_Stub  stub     = new HandFlush_Stub();
            bool            expected = true;

            bool actual = solver.IsFlush(stub);

            Assert.That(actual, Is.EqualTo(expected));
        }
Esempio n. 3
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));
        }
Esempio n. 4
0
        public void IsFlush_Flush_True()
        {
            SolverPrototype solver = new SolverPrototype("Deck1");
            HandFlush_Stub stub = new HandFlush_Stub();
            bool expected = true;

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