Macro aoc_macros::test[][src]

test!() { /* 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.