"""Test the IMU model from OpenPLX tutorial 07."""
from agxOpenPLX import load_from_file, OptParams

class TestIMU: # pylint: disable=too-few-public-methods
    def test_imu(self, sim, tutorials):
        opt_params = OptParams()
        result = load_from_file(sim, str(tutorials / "t07-imu" / "Scene.openplx"), opt_params)
        assert len(result.errors()) == 0
