public void BasicTests(int expected, string inputString) { var kata = new DeadAnts(); int actual = kata.DeadAntCount(inputString); Assert.AreEqual(expected, actual); }
protected void deadAntsTestCase(int expect, string input) { var actual = DeadAnts.DeadAntCount(input); Assert.AreEqual(expect, actual); }
private void TestDeadAntCount(int expected, string input) { Assert.AreEqual(expected, DeadAnts.DeadAntCount(input)); }
public int SampleTests(string input) { var kata = new DeadAnts(); return(kata.DeadAntCount(input)); }
public void All_Ants_Are_Alive(int expected, string input) { Assert.AreEqual(2, DeadAnts.DeadAntCount("ant anantt aantnt")); Assert.AreEqual(1, DeadAnts.DeadAntCount("ant ant .... a nt")); TestDeadAntCount(expected, input); }