-
Notifications
You must be signed in to change notification settings - Fork 1.3k
add _66.java solution2 #116
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
Conversation
@WillShen7789 great |
@@ -1,5 +1,6 @@ | |||
package com.fishercoder; | |||
|
|||
import com.fishercoder.solutions._1005; |
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.
why here?
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.
My mistake.
} | ||
|
||
@Test | ||
public void test1() { | ||
digits = new int[]{9, 9, 9, 9}; | ||
assertArrayEquals(new int[]{1, 0, 0, 0, 0}, solution1.plusOne(digits)); | ||
digits = new int[]{9, 9, 9, 9}; |
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.
Please write new tests for solution2
so each test is responsible for only one solution. Thanks
1.write new tests for solution2 |
No description provided.