Esempio n. 1
0
        public void EvaluateAll_Test2()
        {
            IDataReader      dataReader = new TextFileDataReader(TestFilePath2);
            IStringEvaluator eval       = new PalindromeEvaluator(dataReader);

            Assert.AreEqual(20, eval.EvaluateAll());
        }
Esempio n. 2
0
        public void ConsonantsTest2_All()
        {
            IDataReader      dataReader = new TextFileDataReader(TestFilePath2);
            IStringEvaluator eval       = new ConsonantsEvaluator(dataReader);

            Assert.AreEqual(4, eval.EvaluateAll());
        }
Esempio n. 3
0
 public TextFileDataReaderTest()
 {
     _dataReader = new TextFileDataReader(TestFilePath);
 }