Skip to content

Commit

Permalink
Tests for smpl
Browse files Browse the repository at this point in the history
  • Loading branch information
iluvcapra committed Nov 24, 2024
1 parent 2ab9e94 commit bf536f6
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 0 deletions.
Binary file added tests/test_files/smpl/alarm_citizen_loop1_fr.wav
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
15 changes: 15 additions & 0 deletions tests/test_smpl.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
from unittest import TestCase
from glob import glob

import wavinfo

class TestSmpl(TestCase):
def setUp(self) -> None:
self.test_files = glob("tests/test_files/smpl/*.wav")
return super().setUp()

def test_each(self):
for file in self.test_files:
w = wavinfo.WavInfoReader(file)
d = w.walk()
self.assertIsNotNone(d)

0 comments on commit bf536f6

Please sign in to comment.