087c910b9359acdec08614e843811253663da2d5,dit/example_dists/tests/test_n_mod_m.py,,test_n_mod_m6,#,27
Before Change
def test_n_mod_m6():
for i in range(2, 5):
d = n_mod_m(3, i)
assert_almost_equal(II(d), log2(i))
After Change
Test that II is the log of m
for m in range(2, 5):
d = n_mod_m(3, m)
yield assert_almost_equal, II(d), log2(m)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: dit/dit
Commit Name: 087c910b9359acdec08614e843811253663da2d5
Time: 2013-11-23
Author: ryangregoryjames@gmail.com
File Name: dit/example_dists/tests/test_n_mod_m.py
Class Name:
Method Name: test_n_mod_m6
Project Name: dit/dit
Commit Name: fc60228122795d25037ae2fd65d051a174ab60a5
Time: 2013-11-16
Author: ryangregoryjames@gmail.com
File Name: dit/algorithms/tests/test_entropy.py
Class Name:
Method Name: test_H6
Project Name: dit/dit
Commit Name: fc60228122795d25037ae2fd65d051a174ab60a5
Time: 2013-11-16
Author: ryangregoryjames@gmail.com
File Name: dit/algorithms/tests/test_entropy.py
Class Name:
Method Name: test_H4