Skip to content

Conversation

livecodeali
Copy link
Owner

No description provided.

@livecodeali
Copy link
Owner Author

From the test log:

not ok - non alphabetic input to toNumber function throws
# Expected error: char not alphabetical
# Actual error: char not in the range A to Z

put chartonum(toUpper(pChar)) - 64 into tNum
if tNum < 1 or tNum > 26 then
throw "char not alphabetical"
throw "char not in the range A to Z"
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The error tested for in TestLetterToNumber needs to be changed accordingly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant