Esempio n. 1
0
        public void RealScore()
        {
            Day22 day22 = new Day22();

            day22.LoadData(Day22.RealData());
            while (day22.Compare())
            {
            }
            int score = day22.ScoreWinner();

            Assert.AreEqual(33400, score);
        }
Esempio n. 2
0
        public void testScore()
        {
            Day22 day22 = new Day22();

            day22.LoadData(Day22.TestData());
            while (day22.Compare())
            {
            }
            int score = day22.ScoreWinner();

            Assert.AreEqual(306, score);
        }