pub trait Test<const DAY: u8>: Solution<DAY> {
// Provided method
fn expected(part: bool) -> Self::Output { ... }
}
Expand description
Interface for testing Advent of Code puzzle solutions.
See the getting started guide for more information.
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.