提交 4a7f2742 编写于 作者: L Luo Tao

update unittest with comments

上级 eed61474
......@@ -14,8 +14,8 @@ class TestSetup(unittest.TestCase):
file = 'test.wav'
sf.write(file, data, 44100, format='WAV', subtype='FLOAT')
read, fs = sf.read(file)
assert np.all(read == data)
assert fs == 44100
self.assertTrue(np.all(read == data))
self.assertEqual(fs, 44100)
os.remove(file)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册