ValidationTestSuite

Trait ValidationTestSuite 

Source
pub trait ValidationTestSuite<A: Float>: Debug {
    // Required methods
    fn run_tests(&self, plugin: &mut dyn OptimizerPlugin<A>) -> SuiteResult;
    fn name(&self) -> &str;
    fn description(&self) -> &str;
    fn test_count(&self) -> usize;
}
Expand description

Validation test suite trait

Required Methods§

Source

fn run_tests(&self, plugin: &mut dyn OptimizerPlugin<A>) -> SuiteResult

Run all tests in the suite

Source

fn name(&self) -> &str

Get suite name

Source

fn description(&self) -> &str

Get suite description

Source

fn test_count(&self) -> usize

Get test count

Implementors§