You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nothing. No problems submitting or doing the assignment, but a known bug is discovered and is being reported with the project itself. index.js height variable set on line 2. indexTest.js test on line 14 over simplifies the issue and does not account for this bug.
Additional Context
I did not have a problem with the program, but I did want to note that it is possible to pass in a negative height and use it. And have your height is less than 40 inches test to pass. When height is clearly not valid. Have a look.
Suggested Changes
Make a test to check to make sure that height is at least zero. Now, unless the person is dead or did not exist in the first place, then 0 would also not be valid. But would still pass the height is less than 40 inches requirement.
The text was updated successfully, but these errors were encountered:
Canvas Link
https://learning.flatironschool.com/courses/6956/assignments/239275?module_item_id=562221
Concern
Nothing. No problems submitting or doing the assignment, but a known bug is discovered and is being reported with the project itself. index.js height variable set on line 2. indexTest.js test on line 14 over simplifies the issue and does not account for this bug.
Additional Context
I did not have a problem with the program, but I did want to note that it is possible to pass in a negative height and use it. And have your height is less than 40 inches test to pass. When height is clearly not valid. Have a look.
Suggested Changes
Make a test to check to make sure that height is at least zero. Now, unless the person is dead or did not exist in the first place, then 0 would also not be valid. But would still pass the height is less than 40 inches requirement.
The text was updated successfully, but these errors were encountered: