c8b98305fb11084d0d097d3d89b5ec6002cb6512,tests/test_statistics.py,,test_mad,#,13
Before Change
// STATISTICS
//==============================================================================
def test_mad():
nose.tools.eq_(nk.mad([1, 2, 3, 4, 5, 6, 7]), 2.0)
def test_z_score():
raw_scores = [1, 1, 5, 2, 1]
z = nk.z_score(raw_scores)
After Change
// STATISTICS
//==============================================================================
def test_mad():
assert nk.mad([1, 2, 3, 4, 5, 6, 7]) == 2.0
def test_z_score():
raw_scores = [1, 1, 5, 2, 1]
z = nk.z_score(raw_scores)
In pattern: SUPERPATTERN
Frequency: 6
Non-data size: 4
Instances
Project Name: neuropsychology/NeuroKit.py
Commit Name: c8b98305fb11084d0d097d3d89b5ec6002cb6512
Time: 2017-09-05
Author: dom.mak19@gmail.com
File Name: tests/test_statistics.py
Class Name:
Method Name: test_mad
Project Name: neuropsychology/NeuroKit.py
Commit Name: c8b98305fb11084d0d097d3d89b5ec6002cb6512
Time: 2017-09-05
Author: dom.mak19@gmail.com
File Name: tests/test_statistics.py
Class Name:
Method Name: test_normal_range
Project Name: neuropsychology/NeuroKit.py
Commit Name: d138854d57961940f4ccdc9e2e8b71b7229e9374
Time: 2017-09-05
Author: dom.mak19@gmail.com
File Name: tests/test_miscellaneous.py
Class Name:
Method Name: test_find_closest_in_list
Project Name: neuropsychology/NeuroKit.py
Commit Name: c8b98305fb11084d0d097d3d89b5ec6002cb6512
Time: 2017-09-05
Author: dom.mak19@gmail.com
File Name: tests/test_statistics.py
Class Name:
Method Name: test_z_score
Project Name: neuropsychology/NeuroKit.py
Commit Name: c8b98305fb11084d0d097d3d89b5ec6002cb6512
Time: 2017-09-05
Author: dom.mak19@gmail.com
File Name: tests/test_statistics.py
Class Name:
Method Name: test_compute_interoceptive_accuracy
Project Name: neuropsychology/NeuroKit.py
Commit Name: c8b98305fb11084d0d097d3d89b5ec6002cb6512
Time: 2017-09-05
Author: dom.mak19@gmail.com
File Name: tests/test_statistics.py
Class Name:
Method Name: test_compute_BMI