public virtual void  TestWordlistLoading()
 {
     System.String s = "ONE\n  two \nthree";
     System.Collections.Hashtable wordSet1 = WordlistLoader.GetWordSet(new System.IO.StringReader(s));
     CheckSet(wordSet1);
     System.Collections.Hashtable wordSet2 = WordlistLoader.GetWordSet(new System.IO.StringReader(s));
     CheckSet(wordSet2);
 }
 public virtual void  TestComments()
 {
     System.String s = "ONE\n  two \nthree\n#comment";
     System.Collections.Hashtable wordSet1 = WordlistLoader.GetWordSet(new System.IO.StringReader(s), "#");
     CheckSet(wordSet1);
     Assert.IsFalse(wordSet1.Contains("#comment"));
     Assert.IsFalse(wordSet1.Contains("comment"));
 }
        public virtual void  TestWordlistLoading()
        {
            System.String s        = "ONE\n  two \nthree";
            var           wordSet1 = WordlistLoader.GetWordSet(new System.IO.StringReader(s));

            CheckSet(wordSet1);
            var wordSet2 = WordlistLoader.GetWordSet(new System.IO.StringReader(s));

            CheckSet(wordSet2);
        }