c6891f63f523b0af5109b79111f4d442fe78672f,tests/testLibrosaCore.py,,test_load,#,60
Before Change
pass
def test_load():
test_files = glob.glob("data/load*.mat")
test_files.sort()
// Note: this does not test resampling.
// That is a separate unit test.
After Change
// Transpose here because matlab is row-oriented
assert numpy.allclose(y, DATA["y"].T)
for infile in fileGenerator("data/*load-*.mat") :
yield (__check_load, infile)
pass
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances Project Name: librosa/librosa
Commit Name: c6891f63f523b0af5109b79111f4d442fe78672f
Time: 2013-03-08
Author: brm2132@columbia.edu
File Name: tests/testLibrosaCore.py
Class Name:
Method Name: test_load
Project Name: librosa/librosa
Commit Name: c6891f63f523b0af5109b79111f4d442fe78672f
Time: 2013-03-08
Author: brm2132@columbia.edu
File Name: tests/testLibrosaCore.py
Class Name:
Method Name: test_hz_to_octs
Project Name: librosa/librosa
Commit Name: c6891f63f523b0af5109b79111f4d442fe78672f
Time: 2013-03-08
Author: brm2132@columbia.edu
File Name: tests/testLibrosaCore.py
Class Name:
Method Name: test_mel_to_hz
Project Name: librosa/librosa
Commit Name: c6891f63f523b0af5109b79111f4d442fe78672f
Time: 2013-03-08
Author: brm2132@columbia.edu
File Name: tests/testLibrosaCore.py
Class Name:
Method Name: test_hz_to_mel