def test_wav_pathlib(self): actual = file_info.bitdepth(Path(INPUT_FILE)) expected = 16 self.assertEqual(expected, actual)
def test_aiff(self): actual = file_info.bitdepth(INPUT_FILE2) expected = 32 self.assertEqual(expected, actual)
def test_empty(self): actual = file_info.bitdepth(EMPTY_FILE) expected = 16 self.assertEqual(expected, actual)