-
-
Notifications
You must be signed in to change notification settings - Fork 691
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
Commented tests in TwoferTest Class and possibly one case missing #728
Comments
The readme for the exercise describes the usage of the The additional test case you suggested isn't in the canonical data for the exercise but it seems like a good idea to me. Thoughts @exercism/java ? |
Interesting, as currently written this depends on how we interpret 'no name':
Is a blank string 'no name', or is Could be worth asking in |
The old hello-world exercise used Update: Didn't take much digging. From exercism/problem-specifications#290 I found that a common opinion seemed to be that |
@Smarticles101, thanks for clarification! The issue can be closed then. But in the real life you are expected to deal with empty Strings too 😷 |
Slightly more specific reference:
|
Might still be worth adding a blank string test to the Java track even though it's not captured in the canonical data (since it wouldn't make sense for all languages in the canonical data). |
It's your call, I can create PR if you want and mark this test as with |
I think that'd be a good addition, so yes, please! I'd add it as the last test so it's separated from the 'canonical' tests. |
Sure, will do later today when I get back home |
While doing
two-fer
I've noticed that two positive test cases were commented (not sure why).I guess they shouldn't be ignored by default.
Moreover, I suggest adding additional one (but not sure if it complies with task description):
The text was updated successfully, but these errors were encountered: