Exemplo n.º 1
0
        public void parseTest_Four()
        {
            string[] test = new string[] { "   ", "|_|", "  |", "   " };

            string result = OCRNumberParser.parse(test);

            Assert.AreEqual("4", result);
        }
Exemplo n.º 2
0
        public void parseTest_Eight()
        {
            string[] test = new string[] { " _ ", "|_|", "|_|", "   " };

            string result = OCRNumberParser.parse(test);

            Assert.AreEqual("8", result);
        }
Exemplo n.º 3
0
        public void parseTest_Three()
        {
            string[] test = new string[] { " _ ", " _|", " _|", "   " };

            string result = OCRNumberParser.parse(test);

            Assert.AreEqual("3", result);
        }