def METHOD_NAME(self) -> None:
    with self.assertRaises(ValueError):
        render(Loop(waveform=DummyWaveform()), time_slice=(5, 1))
        render(Loop(waveform=DummyWaveform()), time_slice=(-1, 4))
        render(Loop(waveform=DummyWaveform()), time_slice=(-7, -3))