Beispiel #1
0
 def test_wav_pathlib(self):
     actual = file_info.bitdepth(Path(INPUT_FILE))
     expected = 16
     self.assertEqual(expected, actual)
Beispiel #2
0
 def test_aiff(self):
     actual = file_info.bitdepth(INPUT_FILE2)
     expected = 32
     self.assertEqual(expected, actual)
Beispiel #3
0
 def test_empty(self):
     actual = file_info.bitdepth(EMPTY_FILE)
     expected = 16
     self.assertEqual(expected, actual)