Skip to content

Commit df8563e

Browse files
refactor 206
1 parent 9260f97 commit df8563e

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
import static junit.framework.TestCase.assertEquals;
1010

11-
/**
12-
* Created by stevesun on 6/5/17.
13-
*/
1411
public class _206Test {
1512
private static _206.Solution1 solution1;
1613
private static _206.Solution2 solution2;
@@ -24,10 +21,10 @@ public static void setup() {
2421

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

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

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy