"""Test the boom variants from OpenPLX advanced tutorial 02."""
from agxOpenPLX import load_from_file, OptParams

class TestHeavyMachineBundle: # pylint: disable=too-few-public-methods
    def test_bulldozer(self, sim, tutorials):
        opt_params = OptParams()
        result = load_from_file(sim, str(tutorials / "advanced" /
                                    "ta02-heavy-machine-bundle" / "TBoomVariants.openplx"), opt_params)
        assert len(result.errors()) == 0
