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§
Sourcefn run_test(&self, plugin: &mut dyn OptimizerPlugin<A>) -> TestResult
fn run_test(&self, plugin: &mut dyn OptimizerPlugin<A>) -> TestResult
Run the test
Sourcefn description(&self) -> &str
fn description(&self) -> &str
Get test description