public void CheckWord(string value, bool expected) { // arrange var abc = new Katas.ABC.ABCProblem(); // act bool actual = abc.CheckWord(value); // assert Assert.Equal(expected, actual); }
public void CheckWord_with_custom_blocks(string value, bool expected) { // arrange var blocks = new List<string> { "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z" }; var abc = new Katas.ABC.ABCProblem(blocks); // act bool actual = abc.CheckWord(value); // assert Assert.Equal(expected, actual); }