def test_get_ev_curve_main(self, out): _check(dsp, self.data['get_ev_curve_main'], out)
def test_sample_simulation(self): _check(dsp, self.data, ['outputs'])
def test_gear_4degree_curves_with_linear_gs(self, out): _check(dsp, self.data['gear_4degree_curves_with_linear_gs'], out)
def test_gear_curves_n_gs_from_poly(self, out): _check(dsp, self.data['gear_curves_n_gs_from_poly'], out)
def test_sample_mfc_curves(self, out): _check(dsp, self.data['sample_mfc_curves'], out)
def test_sample_gear_shifting(self, out): _check(dsp, self.data['sample_gear_shifting'], out)
def test_load_v1(self): data = dict( vehicle_id=39393, inputs=dict(inputs=dict(duration=100, times=[1, 2, 3])), data={}) _check(dsp, data, ['data'])
def test_load(self, out): _check(dsp, self.data, out)
def test_sample_ev(self, out): _check(dsp, self.data['sample_EV'], out)