()
| 24 | |
| 25 | #[test] |
| 26 | fn make_changes_fail() { |
| 27 | let coins = vec![2, 5]; |
| 28 | let solutions = vec![(-1, 3)]; |
| 29 | for (expect, amount) in solutions { |
| 30 | assert_eq!(expect, dp::coin::make_change_classic(&coins, amount)); |
| 31 | assert_eq!(expect, dp::coin::make_change_iter(&coins, amount)); |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | #[test] |
| 36 | fn fib_classic_recursive() { |
nothing calls this directly
no outgoing calls
no test coverage detected