gym_acnportal.gym_acnsim.tests.test_interfaces

Tests for Interfaces to Simulators used by gym_acnsim environments.

Module Contents

Classes

TestGymTrainedInterface

TestGymTrainingInterface

class gym_acnportal.gym_acnsim.tests.test_interfaces.TestGymTrainedInterface

Bases: acnportal.acnsim.tests.test_interface.TestInterface

setUp(self)None
test_station_ids(self)None
test_active_station_ids(self)None
test_is_done(self)None
test_charging_rates(self)None
test_is_feasible_evse_key_error(self)None
_continuous_evse_helper(self)None
test_is_feasible_evse_continuous_infeasible(self)None
test_is_feasible_evse_continuous_feasible(self)None
_discrete_evse_helper(self)None
test_is_feasible_evse_discrete_infeasible(self)None
test_is_feasible_evse_discrete_feasible(self)None
test_is_feasible(self, mocked_is_feasible)None
test_last_energy_delivered(self)None
test_current_constraint_currents(self, mocked_constraint_current)None
class gym_acnportal.gym_acnsim.tests.test_interfaces.TestGymTrainingInterface

Bases: gym_acnportal.gym_acnsim.tests.test_interfaces.TestGymTrainedInterface

setUp(self)None
_step_helper(self)Dict[str, List[float]]
test_step_warning_no_schedules(self)None
test_step_warning_short_schedule(self)None
test_step_infeasible_schedule(self, mocked_is_feasible)None
test_step_feasible_schedule(self, mocked_is_feasible)None
test_step_infeasible_schedule_no_force_feasibility(self, mocked_is_feasible)None