reduced overhead by passing an owned string
This commit is contained in:
@@ -19,12 +19,12 @@ iii: out";
|
||||
|
||||
#[test]
|
||||
fn part11a() {
|
||||
assert_eq!(part11a::solve(PUZZLE.to_string()), 5);
|
||||
assert_eq!(part11a::solve(PUZZLE), 5);
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[ignore]
|
||||
fn part11b() {
|
||||
assert_eq!(part11b::solve(PUZZLE.to_string()), 0);
|
||||
assert_eq!(part11b::solve(PUZZLE), 0);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user