b8189944764eb75a6d009a1e3dc4576dd8aadfa2,Orange/widgets/visualize/tests/test_owmap.py,TestOWMap,test_coverage,#TestOWMap#,56

Before Change


        self.widget.map.set_marker_size_coefficient(50)
        self.widget.map.set_marker_opacity(20)
        self.widget.map.recompute_heatmap(np.random.random((30, 30)))
        self.widget.map._update_js_markers(np.r_[0, 1, 2, 3], np.r_[1, 0, 1, 0])
        self.widget.clear()

After Change


    def test_coverage(self):
        // Due to async nature of these calls, these tests just cover
        self.send_signal("Data", self.data)
        self.send_signal("Learner", KNNRegressionLearner())
        self.widget.class_attr = "cls"
        self.widget.handleNewSignals()

        self.widget.map.fit_to_bounds()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: biolab/orange3
Commit Name: b8189944764eb75a6d009a1e3dc4576dd8aadfa2
Time: 2017-07-14
Author: kerncece@gmail.com
File Name: Orange/widgets/visualize/tests/test_owmap.py
Class Name: TestOWMap
Method Name: test_coverage


Project Name: biolab/orange3
Commit Name: ec30b927f1e5fce6731c36132c3ab1685fd13e76
Time: 2018-03-03
Author: cems@cemshost.com.br
File Name: Orange/widgets/data/tests/test_owdatasampler.py
Class Name: TestOWDataSampler
Method Name: test_bigger_size_without_replacement


Project Name: biolab/orange3
Commit Name: ec30b927f1e5fce6731c36132c3ab1685fd13e76
Time: 2018-03-03
Author: cems@cemshost.com.br
File Name: Orange/widgets/data/tests/test_owdatasampler.py
Class Name: TestOWDataSampler
Method Name: test_bigger_size_with_replacement