Skip to main content

register

Function register 

Source
pub fn register(
    registry: &mut AssertionRegistry,
    base: impl Into<PathBuf>,
    loader: impl JudgeLoader + 'static,
)
Expand description

Register the judge assertion type. Judge workflow paths are resolved against base (the eval file’s directory); each judge is compiled once by loader and reused by every test.