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

Commitefa91d4

Browse files
[LEET-3471] add 3471 test
1 parente5982a9 commitefa91d4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
packagecom.fishercoder.fourththousand;
22

3+
importstaticorg.junit.jupiter.api.Assertions.assertEquals;
4+
35
importcom.fishercoder.solutions.fourththousand._3471;
46
importorg.junit.jupiter.api.BeforeEach;
57
importorg.junit.jupiter.api.Test;
68

7-
importstaticorg.junit.jupiter.api.Assertions.assertEquals;
8-
99
publicclass_3471Test {
1010
private_3471.Solution1solution1;
1111

@@ -16,11 +16,11 @@ public void setup() {
1616

1717
@Test
1818
publicvoidtest1() {
19-
assertEquals(7,solution1.largestInteger(newint[]{3,9,2,1,7},3));
19+
assertEquals(7,solution1.largestInteger(newint[]{3,9,2,1,7},3));
2020
}
2121

2222
@Test
2323
publicvoidtest2() {
24-
assertEquals(0,solution1.largestInteger(newint[]{0,0},2));
24+
assertEquals(0,solution1.largestInteger(newint[]{0,0},2));
2525
}
2626
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp