update unittest with comments

pull/2/head
Luo Tao 8 years ago
parent b72b70e54c
commit de212572ed

@ -14,8 +14,8 @@ class TestSetup(unittest.TestCase):
file = 'test.wav' file = 'test.wav'
sf.write(file, data, 44100, format='WAV', subtype='FLOAT') sf.write(file, data, 44100, format='WAV', subtype='FLOAT')
read, fs = sf.read(file) read, fs = sf.read(file)
assert np.all(read == data) self.assertTrue(np.all(read == data))
assert fs == 44100 self.assertEqual(fs, 44100)
os.remove(file) os.remove(file)

Loading…
Cancel
Save