public void TestCase03() { AppleAndOrange aor = new AppleAndOrange(); aor.ReadStream(CreateFileStream("AppleAndOrangeTestCase03.txt")); Assert.AreEqual(18409, aor.Count("apple")); Assert.AreEqual(19582, aor.Count("orange")); }
public void TestCase10() { AppleAndOrange aor = new AppleAndOrange(); aor.ReadStream(CreateFileStream("AppleAndOrangeTestCase10.txt")); Assert.AreEqual(37609, aor.Count("apple")); Assert.AreEqual(38141, aor.Count("orange")); }
public void TestCase11() { AppleAndOrange aor = new AppleAndOrange(); aor.ReadStream(CreateFileStream("AppleAndOrangeTestCase11.txt")); Assert.AreEqual(5046, aor.Count("apple")); Assert.AreEqual(5659, aor.Count("orange")); }
public void TestCase09() { AppleAndOrange aor = new AppleAndOrange(); aor.ReadStream(CreateFileStream("AppleAndOrangeTestCase09.txt")); Assert.AreEqual(16141, aor.Count("apple")); Assert.AreEqual(3358, aor.Count("orange")); }
public void TestCase08() { AppleAndOrange aor = new AppleAndOrange(); aor.ReadStream(CreateFileStream("AppleAndOrangeTestCase08.txt")); Assert.AreEqual(28, aor.Count("apple")); Assert.AreEqual(2966, aor.Count("orange")); }
public void TestCase06() { AppleAndOrange aor = new AppleAndOrange(); aor.ReadStream(CreateFileStream("AppleAndOrangeTestCase06.txt")); Assert.AreEqual(6661, aor.Count("apple")); Assert.AreEqual(4075, aor.Count("orange")); }
public void TestCase05() { AppleAndOrange aor = new AppleAndOrange(); aor.ReadStream(CreateFileStream("AppleAndOrangeTestCase05.txt")); Assert.AreEqual(8032, aor.Count("apple")); Assert.AreEqual(3129, aor.Count("orange")); }
public void TestCase04() { AppleAndOrange aor = new AppleAndOrange(); aor.ReadStream(CreateFileStream("AppleAndOrangeTestCase04.txt")); Assert.AreEqual(2530, aor.Count("apple")); Assert.AreEqual(1149, aor.Count("orange")); }