Macro aoc_driver::test_bytes [−][src]
test_bytes!() { /* proc-macro */ }
Expand description
Usage:
run!(year, day, part, function, test_name, test_input, expected);
eg.
run!(2021, 1, 1, year2020::day1::part1, "simple", "123", "456");
The function
may also be a string literal.
The _bytes
version calls the function with a &u8