Skip to content

Navigation Menu

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

Appearance settings

Commit efa91d4

Browse filesBrowse files
[LEET-3471] add 3471 test
1 parent e5982a9 commit efa91d4
Copy full SHA for efa91d4

File tree

1 file changed

+4
-4
lines changed
Filter options

1 file changed

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

3+
import static org.junit.jupiter.api.Assertions.assertEquals;
4+
35
import com.fishercoder.solutions.fourththousand._3471;
46
import org.junit.jupiter.api.BeforeEach;
57
import org.junit.jupiter.api.Test;
68

7-
import static org.junit.jupiter.api.Assertions.assertEquals;
8-
99
public class _3471Test {
1010
private _3471.Solution1 solution1;
1111

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

1717
@Test
1818
public void test1() {
19-
assertEquals(7, solution1.largestInteger(new int[]{3, 9, 2, 1, 7}, 3));
19+
assertEquals(7, solution1.largestInteger(new int[] {3, 9, 2, 1, 7}, 3));
2020
}
2121

2222
@Test
2323
public void test2() {
24-
assertEquals(0, solution1.largestInteger(new int[]{0, 0}, 2));
24+
assertEquals(0, solution1.largestInteger(new int[] {0, 0}, 2));
2525
}
2626
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.