Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fishercoder1534 merged 3 commits intofishercoder1534:masterfromWillShen7789:master
Oct 25, 2020
Merged

add _66.java solution2#116

fishercoder1534 merged 3 commits intofishercoder1534:masterfromWillShen7789:master
Oct 25, 2020

Conversation

@WillShen7789
Copy link
Contributor

No description provided.

@yaodehaung
Copy link
Contributor

@WillShen7789 great

@@ -1,5 +1,6 @@
packagecom.fishercoder;

importcom.fishercoder.solutions._1005;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

why here?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

My mistake.

publicvoidtest1() {
digits =newint[]{9,9,9,9};
assertArrayEquals(newint[]{1,0,0,0,0},solution1.plusOne(digits));
digits =newint[]{9,9,9,9};

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Please write new tests forsolution2 so each test is responsible for only one solution. Thanks

@WillShen7789
Copy link
ContributorAuthor

1.write new tests for solution2
2.remove import

@fishercoder1534fishercoder1534 merged commit46815c1 intofishercoder1534:masterOct 25, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fishercoder1534fishercoder1534fishercoder1534 approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@WillShen7789@yaodehaung@fishercoder1534

[8]ページ先頭

©2009-2025 Movatter.jp