5bc4eaf3ea8d84861a91c915c4ebb2f5078221fd,dit/utils/tests/test_testing.py,,test_distributions1,#,13

Before Change


    
    A test for the distributions strategy.
    
    example = find(distributions(alphabets=3), lambda d: coinformation(d) < -0.5)
    assert coinformation(example) <= -0.5

@pytest.mark.flaky(reruns=5)
def test_distributions2():

After Change


    
    A test for the distributions strategy.
    
    dists = distributions(alphabets=3)
    example = find(dists, predicate)
    assert coinformation(example) <= -1/2

@pytest.mark.flaky(reruns=5)
def test_distributions2():
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: dit/dit
Commit Name: 5bc4eaf3ea8d84861a91c915c4ebb2f5078221fd
Time: 2017-11-08
Author: ryangregoryjames@gmail.com
File Name: dit/utils/tests/test_testing.py
Class Name:
Method Name: test_distributions1


Project Name: dit/dit
Commit Name: 5bc4eaf3ea8d84861a91c915c4ebb2f5078221fd
Time: 2017-11-08
Author: ryangregoryjames@gmail.com
File Name: dit/utils/tests/test_testing.py
Class Name:
Method Name: test_distributions2


Project Name: dit/dit
Commit Name: 5bc4eaf3ea8d84861a91c915c4ebb2f5078221fd
Time: 2017-11-08
Author: ryangregoryjames@gmail.com
File Name: dit/utils/tests/test_testing.py
Class Name:
Method Name: test_distributions3