docstr: Tests resample runs with correct method names.
docstr_tok: ["Tests","resample","runs","with","correct","method","names","."]
code: def test_resample_allows_valid_method_arguments(self, method):
      """Tests resample runs with correct method names."""
      _, after = self.create_resampled_signals(
          n_before=self.n_smaller,
          n_after=self.n_larger,
          add_endpoint=True,
          method=method,
      )
      self.assertEqual(self.n_larger, after.size)
  
imports: from absl.testing import parameterized
  from ddsp import core
  import librosa
  import numpy
  from scipy import signal
  import tensorflow.compat.v2
label_desc: Use image node_id 11 for calling the ResampleTest obj's underlying member method code with example usage: obj.test_resample_allows_valid_method_arguments(method) without return types