MCPcopy Index your code
hub / github.com/RustPython/RustPython / WavePCM8Test

Class WavePCM8Test

Lib/test/test_wave.py:16–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14
15
16class WavePCM8Test(WaveTest, unittest.TestCase):
17 sndfilename = 'pluck-pcm8.wav'
18 sndfilenframes = 3307
19 nchannels = 2
20 sampwidth = 1
21 framerate = 11025
22 nframes = 48
23 comptype = 'NONE'
24 compname = 'not compressed'
25 frames = bytes.fromhex("""\
26 827F CB80 B184 0088 4B86 C883 3F81 837E 387A 3473 A96B 9A66 \
27 6D64 4662 8E60 6F60 D762 7B68 936F 5877 177B 757C 887B 5F7B \
28 917A BE7B 3C7C E67F 4F84 C389 418E D192 6E97 0296 FF94 0092 \
29 C98E D28D 6F8F 4E8F 648C E38A 888A AB8B D18E 0B91 368E C48A \
30 """)
31
32
33class WavePCM16Test(WaveTest, unittest.TestCase):

Callers

nothing calls this directly

Calls 1

fromhexMethod · 0.45

Tested by

no test coverage detected