Beispiel #1
0
        private void CompareDice(int[] d1, int[] d2, int expect)
        {
            var helper = new DiceCompare();
            int result = helper.Compare(new Dice(d1), new Dice(d2));

            Assert.AreEqual(expect, result);
        }
Beispiel #2
0
        private void FirstDiceShouldBiggerThanSecond(Dice dice1, Dice dice2)
        {
            var helper = new DiceCompare();
            int result = helper.Compare(dice1, dice2);

            Assert.IsTrue(result > 0);
        }