()
| 109 | |
| 110 | #[test] |
| 111 | fn edge() { |
| 112 | assert_eq!( |
| 113 | Solution::rotate_right(None, 4), |
| 114 | None |
| 115 | ); |
| 116 | assert_eq!( |
| 117 | Solution::rotate_right(Some(Box::new(ListNode { val: 1, next: None })), 1), |
| 118 | Some(Box::new(ListNode { val: 1, next: None })) |
| 119 | ) |
| 120 | } |
| 121 | } |
nothing calls this directly
no outgoing calls
no test coverage detected