PluginTest

Trait PluginTest 

Source
pub trait PluginTest<A: Float>: Debug {
    // Required methods
    fn run_test(&self, plugin: &mut dyn OptimizerPlugin<A>) -> TestResult;
    fn name(&self) -> &str;
    fn description(&self) -> &str;
}
Expand description

Individual plugin test trait

Required Methods§

Source

fn run_test(&self, plugin: &mut dyn OptimizerPlugin<A>) -> TestResult

Run the test

Source

fn name(&self) -> &str

Get test name

Source

fn description(&self) -> &str

Get test description

Implementors§