mirror of
https://github.com/bertptrs/adventofcode.git
synced 2025-12-26 21:30:31 +01:00
Reimplement test macro as a generic function.
This commit is contained in:
@@ -113,11 +113,11 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn sample_part1() {
|
||||
test_implementation!(Day08, 1, SAMPLE, 5);
|
||||
test_implementation(Day08, 1, SAMPLE, 5);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn sample_part2() {
|
||||
test_implementation!(Day08, 2, SAMPLE, 8);
|
||||
test_implementation(Day08, 2, SAMPLE, 8);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user