Esempio n. 1
0
        public void Test_StudentIdFinder_2()
        {
            string htmlText = Helper.RawStringOfTestFile("Sample HTML.txt");
            string plain    = ExtensionMethods.RemoveTags(htmlText);
            var    parser   = new StudentIdFinder(plain);

            Assert.AreEqual("15UEB00181", parser.GetStudentId());
        }
Esempio n. 2
0
        public void Test_StudentIdFinder_1()
        {
            var parser = new StudentIdFinder(input);

            Assert.AreEqual("15UKB04769", parser.GetStudentId());
        }