Example #1
0
        public void TwoInTheSameQube9()
        {
            //arrange
            string inputF = "090107000910000045003200000300000060062000300005000009000602000000000000049000057"; // there are two 1 in the same row from the input, should return false
            bool   ispossibleinput, expected = false;

            //act
            ispossibleinput = Validity.IsPossibleInputQube(inputF);

            // assert
            Assert.AreEqual(expected, ispossibleinput);
        }
Example #2
0
        public void TwoInTheSameQube16()
        {
            //arrange
            string inputF = "10023400<06000701080007003009:6;0<00:0010=0;00>0300?200>000900<0=000800:0<201?000;76000@000?005=000:05?0040800;0@0059<00100000800200000=00<580030=00?0300>80@000580010002000=9?000<406@0=00700050300<0006004;00@0700@050>0010020;1?900=002000>000>000;0200=3500<"; // there are two 1 in the same row from the input, should return false
            bool   ispossibleinput, expected = false;

            //act
            ispossibleinput = Validity.IsPossibleInputQube(inputF);

            // assert
            Assert.AreEqual(expected, ispossibleinput);
        }
Example #3
0
        public void TwoInTheSameQube4()
        {
            //arrange
            string inputF = "1023100000000000"; // there are two 1 in the same row from the input, should return false
            bool   ispossibleinput, expected = false;

            //act
            ispossibleinput = Validity.IsPossibleInputQube(inputF);

            // assert
            Assert.AreEqual(expected, ispossibleinput);
        }