mirror of
https://github.com/bertptrs/adventofcode.git
synced 2025-12-27 05:40:32 +01:00
Reimplement test macro as a generic function.
This commit is contained in:
@@ -129,11 +129,11 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn sample_part1() {
|
||||
test_implementation!(Day24, 1, SAMPLE, 10);
|
||||
test_implementation(Day24, 1, SAMPLE, 10);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn sample_part2() {
|
||||
test_implementation!(Day24, 2, SAMPLE, 2208);
|
||||
test_implementation(Day24, 2, SAMPLE, 2208);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user