Ejemplo n.º 1
0
        public void CheckIfWrong8()
        {
            string[] forTest  = { "3", "2", "14", "1" };
            var      clue     = 2;
            var      expected = false;

            Assert.AreEqual(expected, SkyScrapersAll.IsWrongClue(forTest, clue, 4));
        }
Ejemplo n.º 2
0
        public void CheckIfWrong5()
        {
            string[] forTest  = { "4", "5", "2", "6", "1", "3" };
            var      clue     = 3;
            var      expected = true;

            Assert.AreEqual(expected, SkyScrapersAll.IsWrongClue(forTest, clue, 6));
        }
Ejemplo n.º 3
0
        public void CheckIfWrong7()
        {
            string[] forTest  = { "6", "13", "5", "123", "4", "123" };
            var      clue     = 4;
            var      expected = false;

            Assert.AreEqual(expected, SkyScrapersAll.IsWrongClue(forTest, clue, 6));
        }
Ejemplo n.º 4
0
        public void CheckIfWrong4()
        {
            string[] forTest  = { "1234", "123", "1236", "1", "13456", "2345" };
            var      clue     = 3;
            var      expected = false;

            Assert.AreEqual(expected, SkyScrapersAll.IsWrongClue(forTest, clue, 4));
        }