Beispiel #1
0
        public void IsInvalidLocation()
        {
            string fileLocation = _dir + @"../../anagramApp/Assets/Words/DoesNotExist.txt";
            var    reader       = new WordReader(fileLocation);

            reader.GetList(_dict);
        }
Beispiel #2
0
        public void SetUp()
        {
            string fileLocation = _dir + @"../../anagramApp/Assets/Words/wordlist.txt";
            var    reader       = new WordReader(fileLocation);

            _searcher.SetList(reader.GetList(_wordList));
        }
Beispiel #3
0
 public void IsValidLocation()
 {
     Assert.IsInstanceOfType(_reader.GetList(_dict), typeof(Dictionary <string, List <string> >));
 }