code: def test_invalid_parameters(self):
      with pytest.raises(ValueError):
          Shift(min_shift=-1.5)
      with pytest.raises(ValueError):
          Shift(min_shift=1.5)
      with pytest.raises(ValueError):
          Shift(max_shift=-1.5)
      with pytest.raises(ValueError):
          Shift(max_shift=1.5)
      with pytest.raises(ValueError):
          Shift(min_shift=0.2, max_shift=0.1)
      with pytest.raises(ValueError):
          Shift(fade_duration=0.000001)
      with pytest.raises(ValueError):
          Shift(fade_duration=-1337)
      with pytest.raises(ValueError):
          Shift(shift_unit="lightyears")
  
file_path: audiomentations/tests/test_shift.py
imports: import numpy
  import pytest
  from numpy.testing import assert_almost_equal
  from audiomentations import Shift
label_desc: Use image node_id 12 for calling the TestShift obj's underlying member method code with example usage: obj.test_invalid_parameters() without return types