8
8
9
9
import static junit .framework .TestCase .assertEquals ;
10
10
11
- /**
12
- * Created by stevesun on 6/5/17.
13
- */
14
11
public class _206Test {
15
12
private static _206 .Solution1 solution1 ;
16
13
private static _206 .Solution2 solution2 ;
@@ -24,10 +21,10 @@ public static void setup() {
24
21
25
22
@ Test
26
23
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 ));
29
26
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 ));
32
29
}
33
30
}