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:
@@ -65,11 +65,11 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn sample_part1() {
|
||||
test_implementation!(Day02, 1, SAMPLE, 2);
|
||||
test_implementation(Day02, 1, SAMPLE, 2);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn sample_part2() {
|
||||
test_implementation!(Day02, 2, SAMPLE, 1);
|
||||
test_implementation(Day02, 2, SAMPLE, 1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user