def METHOD_NAME(self, sample_rate, num_channels, subtype_and_bit_depth):
    """`soundfile_backend.info` can check sph file correctly"""
    duration = 1
    num_frames = sample_rate * duration
    data = torch.randn(num_frames, num_channels).numpy()
    path = self.get_temp_path("data.nist")
    subtype, bits_per_sample = subtype_and_bit_depth
    soundfile.write(path, data, sample_rate, subtype=subtype)
    info = soundfile_backend.info(path)
    assert info.sample_rate == sample_rate
    assert info.num_frames == sample_rate * duration
    assert info.num_channels == num_channels
    assert info.bits_per_sample == bits_per_sample
    assert info.encoding == "PCM_S"