def test_no_d(self):
     segy2netcdf._check_user_dims(1, 30)
 def test_full_d(self):
     segy2netcdf._check_user_dims(30, 30)
 def test_partial_d(self):
     segy2netcdf._check_user_dims(15, 30)
 def test_zero_d(self):
     with pytest.raises(ValueError):
         segy2netcdf._check_user_dims(0, 30)
 def test_negative_d(self):
     with pytest.raises(ValueError):
         segy2netcdf._check_user_dims(-1, 30)
 def test_too_big_d(self):
     with pytest.raises(ValueError):
         segy2netcdf._check_user_dims(31, 30)
 def test_nondivisible_d(self):
     with pytest.raises(ValueError):
         segy2netcdf._check_user_dims(16, 30)
 def test_zero_d_zero_ntraces(self):
     segy2netcdf._check_user_dims(0, 0)