Skip to content
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

Please tell us the meaning of the sentence #386

Open
tkoyama010 opened this issue Aug 18, 2024 · 1 comment
Open

Please tell us the meaning of the sentence #386

tkoyama010 opened this issue Aug 18, 2024 · 1 comment
Labels
question Further information is requested

Comments

@tkoyama010
Copy link
Member

The with the input of both 0 and part is missing information and cannot be read. Please tell us what you are trying to convey.

- **Test special cases:** Sometimes there are special or outlier cases. For instance, if a function performs a specific calculation that may become problematic closer to the value = 0, test it with the input of both 0 and

@tkoyama010 tkoyama010 added the question Further information is requested label Aug 18, 2024
@sneakers-the-rat
Copy link
Contributor

I think it may have gotten blurred together with the example after it?

I think for the idea of testing special cases, one familiar example might be dividing by zero. Something like

Test special cases: Sometimes there are special or outlier cases. For instance, you may have some function that divides x / y: divide(x,y). Write a test for your function with y = 0 to ensure that it handles the special case correctly.

except i don't have my writing voice on right now and it could use a bit of @lwasser 's writing voice in it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants