public void ValidateNumber_Failure() { var converter = new NumberConverter(); var errorResponse = converter.ConvertToWord("abc"); Assert.Equal("Not a Valid Number", errorResponse); }
public void ValidateNumber_Success() { var converter = new NumberConverter(); var response = converter.ConvertToWord("123"); Assert.Equal("One hundred Twenty Three", response); }