()
| 40 | |
| 41 | #[test] |
| 42 | fn basic() { |
| 43 | assert_eq!(Solution::combination_sum( |
| 44 | vec![2,3,6,7], 7), |
| 45 | vec![ |
| 46 | vec![2,2,3], |
| 47 | vec![7] |
| 48 | ] |
| 49 | ); |
| 50 | assert_eq!(Solution::combination_sum( |
| 51 | vec![2,3,5], 8), |
| 52 | vec![ |
| 53 | vec![2,2,2,2], |
| 54 | vec![2,3,3], |
| 55 | vec![3,5] |
| 56 | ] |
| 57 | ); |
| 58 | } |
| 59 | } |
nothing calls this directly
no outgoing calls
no test coverage detected