c97f94ae4c61dbfa2125ada2905aab61cfe711e5,test/minhash_test.py,TestMinHash,test_deserialize,#TestMinHash#,49

Before Change


                m1d.hashvalues)))

        // Test if the permutation functions are the same
        m1.digest(sha1(bytes(34)))
        m1d.digest(sha1(bytes(34)))
        self.assertTrue(all(hvd == hv for hv, hvd in zip(m1.hashvalues,
                m1d.hashvalues)))

After Change


                m1d.hashvalues)))

        // Test if the permutation functions are the same
        m1.digest(FakeHash(34))
        m1d.digest(FakeHash(34))
        self.assertTrue(all(hvd == hv for hv, hvd in zip(m1.hashvalues,
                m1d.hashvalues)))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 3

Instances


Project Name: ekzhu/datasketch
Commit Name: c97f94ae4c61dbfa2125ada2905aab61cfe711e5
Time: 2015-04-15
Author: erkangzhu@gmail.com
File Name: test/minhash_test.py
Class Name: TestMinHash
Method Name: test_deserialize


Project Name: ekzhu/datasketch
Commit Name: c97f94ae4c61dbfa2125ada2905aab61cfe711e5
Time: 2015-04-15
Author: erkangzhu@gmail.com
File Name: test/minhash_test.py
Class Name: TestMinHash
Method Name: test_digest


Project Name: ekzhu/datasketch
Commit Name: c97f94ae4c61dbfa2125ada2905aab61cfe711e5
Time: 2015-04-15
Author: erkangzhu@gmail.com
File Name: test/minhash_test.py
Class Name: TestMinHash
Method Name: test_pickle


Project Name: ekzhu/datasketch
Commit Name: c97f94ae4c61dbfa2125ada2905aab61cfe711e5
Time: 2015-04-15
Author: erkangzhu@gmail.com
File Name: test/minhash_test.py
Class Name: TestMinHash
Method Name: test_jaccard


Project Name: ekzhu/datasketch
Commit Name: c97f94ae4c61dbfa2125ada2905aab61cfe711e5
Time: 2015-04-15
Author: erkangzhu@gmail.com
File Name: test/minhash_test.py
Class Name: TestMinHash
Method Name: test_merge