public void TestLine() { string file = @"D:\\201731107105\\test.txt"; WordCounter w = new WordCounter(); Assert.AreEqual(w.CountLines(file), 2); }