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

Commitdf8563e

Browse files
refactor 206
1 parent9260f97 commitdf8563e

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

‎src/test/java/com/fishercoder/_206Test.java

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88

99
importstaticjunit.framework.TestCase.assertEquals;
1010

11-
/**
12-
* Created by stevesun on 6/5/17.
13-
*/
1411
publicclass_206Test {
1512
privatestatic_206.Solution1solution1;
1613
privatestatic_206.Solution2solution2;
@@ -24,10 +21,10 @@ public static void setup() {
2421

2522
@Test
2623
publicvoidtest1() {
27-
head =LinkedListUtils.contructLinkedList(newint[]{1,2,3});
28-
assertEquals(LinkedListUtils.contructLinkedList(newint[]{3,2,1}),solution1.reverseList(head));
24+
head =LinkedListUtils.contructLinkedList(newint[]{1,2,3});
25+
assertEquals(LinkedListUtils.contructLinkedList(newint[]{3,2,1}),solution1.reverseList(head));
2926

30-
head =LinkedListUtils.contructLinkedList(newint[]{1,2,3});
31-
assertEquals(LinkedListUtils.contructLinkedList(newint[]{3,2,1}),solution2.reverseList(head));
27+
head =LinkedListUtils.contructLinkedList(newint[]{1,2,3});
28+
assertEquals(LinkedListUtils.contructLinkedList(newint[]{3,2,1}),solution2.reverseList(head));
3229
}
3330
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp