Esempio n. 1
0
        public void TestSameResults()
        {
            List <string> list1 = RegularExpressions.FindLinks(TestString);
            List <string> list2 = RegularExpressions.FindLinksE(TestString).ToList();

            Assert.IsTrue(list1.TrueForAll((s) => { return(list2.Contains(s)); }));
        }
Esempio n. 2
0
 public void TestFindLinksE()
 {
     Assert.IsTrue(RegularExpressions.FindLinksE(TestString).Contains("https://www.nearlyfreespeech.net/"));
 }