Beispiel #1
0
        public void GetOnePair_NoPair_Zero()
        {
            Yatzy instance = new Yatzy(1, 2, 3, 4, 5);
            int   actual   = instance.GetOnePair();

            Assert.Equal(0, actual);
        }
Beispiel #2
0
        public void GetOnePair_SumOfLargestScorePair()
        {
            Yatzy instance = new Yatzy(5, 3, 6, 6, 5);
            int   actual   = instance.GetOnePair();

            Assert.Equal(12, actual);
        }