mirror of
https://github.com/iluvcapra/wavinfo.git
synced 2025-12-31 08:50:41 +00:00
Tests for smpl
This commit is contained in:
BIN
tests/test_files/smpl/alarm_citizen_loop1_fr.wav
Normal file
BIN
tests/test_files/smpl/alarm_citizen_loop1_fr.wav
Normal file
Binary file not shown.
BIN
tests/test_files/smpl/alarm_citizen_loop1_res3.wav
Normal file
BIN
tests/test_files/smpl/alarm_citizen_loop1_res3.wav
Normal file
Binary file not shown.
BIN
tests/test_files/smpl/alarm_citizen_loop1_rev.wav
Normal file
BIN
tests/test_files/smpl/alarm_citizen_loop1_rev.wav
Normal file
Binary file not shown.
BIN
tests/test_files/smpl/alarm_citizen_loop1_vendFF.wav
Normal file
BIN
tests/test_files/smpl/alarm_citizen_loop1_vendFF.wav
Normal file
Binary file not shown.
15
tests/test_smpl.py
Normal file
15
tests/test_smpl.py
Normal file
@@ -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)
|
||||
Reference in New Issue
Block a user