-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Victoria Garcia - Ampers - JS Scrabble #37
base: master
Are you sure you want to change the base?
Conversation
…the one about ther bad characters
…ng word method, after reasonable fails.
… how the highestWordScore method is interacting with Score.
…quest time, exclamation point.
JS ScrabbleWhat We're Looking For
|
|
||
|
||
test('returns false when score < 100', () => { | ||
const player = new Scrabble.Player('joe'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would work better to simply loop through verifying that hashWon
returns false from a score of 0 to 99. So you cover the edge cases.
|
||
|
||
test('returns true when score == 100', () => { | ||
const player = new Scrabble.Player('jane'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You want to verify that hasWon is false at 99 and true at 100 and greater.
JS Scrabble
Congratulations! You're submitting your assignment!
Comprehension Questions