()
| 152 | |
| 153 | #[test] |
| 154 | fn makenode() { |
| 155 | assert_eq!(Solution::make_node(10), (ListNode{val:0, next:None}, 1)); |
| 156 | assert_eq!(Solution::make_node(9), (ListNode{val:9, next:None}, 0)); |
| 157 | assert_eq!(Solution::make_node(20), (ListNode{val:10, next:None}, 1)); |
| 158 | } |
| 159 | |
| 160 | #[test] |
| 161 | fn init() { |
nothing calls this directly
no outgoing calls
no test coverage detected