82fde8c147af15b304d7e3b7b1aba1da3bcf988f,dit/tests/test_distribution.py,,test_dist_iter2,#,18
Before Change
pmf = [1/4]*4
d = Distribution(outcomes, pmf)
for o in reversed(d):
assert_in(o, outcomes)
def test_numerical():
outcomes = ["00", "01", "10", "11"]
After Change
d = Distribution(outcomes, pmf)
for o in reversed(d):
assert(o in outcomes)
for o1, o2 in zip(reversed(d), reversed(outcomes)):
assert_equal(o1, o2)
def test_numerical():
outcomes = ["00", "01", "10", "11"]
pmf = [1/4]*4
d = Distribution(outcomes, pmf)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: dit/dit
Commit Name: 82fde8c147af15b304d7e3b7b1aba1da3bcf988f
Time: 2013-10-23
Author: ryangregoryjames@gmail.com
File Name: dit/tests/test_distribution.py
Class Name:
Method Name: test_dist_iter2
Project Name: biocore/scikit-bio
Commit Name: 791c934318c81fb768275a9abb2f53e919cb9813
Time: 2015-03-26
Author: jai.rideout@gmail.com
File Name: skbio/sequence/tests/test_sequence.py
Class Name: SequenceTests
Method Name: test_reversed
Project Name: mozilla/TTS
Commit Name: b76a0be97a8c67df494d5767e75d211184cb2787
Time: 2020-10-29
Author: erogol@hotmail.com
File Name: TTS/vocoder/models/wavegrad.py
Class Name: Wavegrad
Method Name: __init__