pub fn failed(test: &Test, spec: Option<&Spec>, error: TestbedError) -> Evaluation {
        Evaluation {
            test: test.clone(),
            spec: spec.map(|s| s.clone()),
            exec_result: Err(error),
            device_responses: Vec::new(),
            serial_traces: Vec::new(),
            energy_metrics: HashMap::new(),
        }
    }
/// Create an evaluation that fails due to an error during testing.
Create an evaluation that fails due to an error during testing.
Create an evaluation that fails due to an error during testing .
pub fn failed(test: &Test, spec: Option<&Spec>, error: TestbedError) -> Evaluation {
        Evaluation {
            test: test.clone(),
            spec: spec.map(|s| s.clone()),
            exec_result: Err(error),
            device_responses: Vec::new(),
            serial_traces: Vec::new(),
            energy_metrics: HashMap::new(),
        }
    }
pub fn failed ( test : & Test , spec : Option < & Spec > , error : TestbedError ) -> Evaluation { Evaluation { test : test . clone ( ) , spec : spec . map ( | s | s . clone ( ) ) , exec_result : Err ( error ) , device_responses : Vec :: new ( ) , serial_traces : Vec :: new ( ) , energy_metrics : HashMap :: new ( ) , } }
Create an evaluation that fails due to an error during testing.
Create an evaluation that fails due to an error during testing .
test
&Test
spec
Option<&Spec>
error
TestbedError
test
&Test
spec
Option<&Spec>
error
TestbedError