reduced overhead by passing an owned string
This commit is contained in:
@@ -29,12 +29,12 @@ mod tests {
|
||||
#[test]
|
||||
#[ignore]
|
||||
fn part08a() {
|
||||
assert_eq!(part08a::solve(PUZZLE.to_string()), 40);
|
||||
assert_eq!(part08a::solve(PUZZLE), 40);
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[ignore]
|
||||
fn part08b() {
|
||||
assert_eq!(part08b::solve(PUZZLE.to_string()), 0);
|
||||
assert_eq!(part08b::solve(PUZZLE), 0);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user