Commits

Adrian Sampson  committed 6dfc8b8

add tests for ALAC (#295)

  • Participants
  • Parent commits a75e80b

Comments (0)

Files changed (2)

File test/rsrc/full.alac.m4a

Binary file added.

File test/test_mediafile_basic.py

         'bitdepth': 0,
         'channels': 1,
     },
+
+    'full.alac.m4a': {
+        'length': 1.0,
+        'bitrate': 55072,
+        'format': 'ALAC',
+        'samplerate': 0,
+        'bitdepth': 0,
+        'channels': 0,
+    },
 }
 
 TEST_FILES = {
     def test_wma(self):
         self._run('full', 'wma')
 
+    def test_alac(self):
+        self._run('full', 'alac.m4a')
+
     # Special test for advanced release date.
     def test_date_mp3(self):
         self._run('date', 'mp3')
     def test_wma(self):
         self._run('full.wma')
 
+    def test_alac(self):
+        self._run('full.alac.m4a')
+
 def suite():
     return unittest.TestLoader().loadTestsFromName(__name__)