e476c916377deaaf441903af6fe4a35f646f9c7e,scipy/spatial/tests/test_hausdorff.py,TestHausdorff,test_symmetry,#TestHausdorff#,36

Before Change


        // Ensure that the directed (asymmetric) Hausdorff distance is
        // actually asymmetric

        forward = directed_hausdorff(self.path_1, self.path_2)
        reverse = directed_hausdorff(self.path_2, self.path_1)
        self.assertNotEqual(forward, reverse)

    def test_brute_force_comparison_forward(self):

After Change


        // Ensure that the directed (asymmetric) Hausdorff distance is
        // actually asymmetric

        forward = directed_hausdorff(self.path_1, self.path_2)[0]
        reverse = directed_hausdorff(self.path_2, self.path_1)[0]
        self.assertNotEqual(forward, reverse)

    def test_brute_force_comparison_forward(self):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 3

Instances


Project Name: scipy/scipy
Commit Name: e476c916377deaaf441903af6fe4a35f646f9c7e
Time: 2016-12-29
Author: tyler.je.reddy@gmail.com
File Name: scipy/spatial/tests/test_hausdorff.py
Class Name: TestHausdorff
Method Name: test_symmetry


Project Name: scipy/scipy
Commit Name: e476c916377deaaf441903af6fe4a35f646f9c7e
Time: 2016-12-29
Author: tyler.je.reddy@gmail.com
File Name: scipy/spatial/tests/test_hausdorff.py
Class Name: TestHausdorff
Method Name: test_degenerate_case


Project Name: scipy/scipy
Commit Name: e476c916377deaaf441903af6fe4a35f646f9c7e
Time: 2016-12-29
Author: tyler.je.reddy@gmail.com
File Name: scipy/spatial/tests/test_hausdorff.py
Class Name: TestHausdorff
Method Name: test_4d_data_reverse


Project Name: scipy/scipy
Commit Name: e476c916377deaaf441903af6fe4a35f646f9c7e
Time: 2016-12-29
Author: tyler.je.reddy@gmail.com
File Name: scipy/spatial/tests/test_hausdorff.py
Class Name: TestHausdorff
Method Name: test_brute_force_comparison_reverse


Project Name: scipy/scipy
Commit Name: e476c916377deaaf441903af6fe4a35f646f9c7e
Time: 2016-12-29
Author: tyler.je.reddy@gmail.com
File Name: scipy/spatial/tests/test_hausdorff.py
Class Name: TestHausdorff
Method Name: test_brute_force_comparison_forward


Project Name: scipy/scipy
Commit Name: e476c916377deaaf441903af6fe4a35f646f9c7e
Time: 2016-12-29
Author: tyler.je.reddy@gmail.com
File Name: scipy/spatial/tests/test_hausdorff.py
Class Name: TestHausdorff
Method Name: test_2d_data_forward