public void Can_I_Get_IndexOf_Letter_That_Contains() { //Arrange var word = new Word("mad"); //Act var result = word.IndexOfLetter('a'); //Assert Assert.That(result, Is.EqualTo(new int[] { 1 })); }
public void Can_I_Get_IndexOf_Letters_A() { //Arrange var word = new Word("arara"); //Act var result = word.IndexOfLetter('a'); //Assert Assert.That(result, Is.EqualTo(new int[] { 0, 2, 4 })); }