3940494bc2aea08e19ac40b58e7f8dd52be257bd,test/augmenters/test_geometric.py,TestRot90,test_polygons_k_is_list,#TestRot90#,7356
Before Change
assert psoi_aug[1].shape == (4, 8, 3)
assert psoi_aug[2].shape == (8, 4, 3)
assert psoi_aug[3].shape == (4, 8, 3)
expected_k1_poly = self.psoi_k1.polygons[0]
expected_k2_poly = self.psoi_k2.polygons[0]
assert psoi_aug[0].polygons[0].exterior_almost_equals(expected_k1_poly)
assert psoi_aug[1].polygons[0].exterior_almost_equals(expected_k2_poly)
assert psoi_aug[2].polygons[0].exterior_almost_equals(expected_k1_poly)
After Change
assert_cbaois_equal(psoi_aug[0], self.psoi_k1)
assert_cbaois_equal(psoi_aug[1], self.psoi_k2)
assert_cbaois_equal(psoi_aug[2], self.psoi_k1)
assert_cbaois_equal(psoi_aug[3], self.psoi_k2)
def test_bounding_boxes_k_is_list(self):
aug = iaa.Rot90(_TwoValueParam(1, 2), keep_size=False)
bbsoi = self.bbsoi
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances
Project Name: aleju/imgaug
Commit Name: 3940494bc2aea08e19ac40b58e7f8dd52be257bd
Time: 2019-09-29
Author: kontakt@ajung.name
File Name: test/augmenters/test_geometric.py
Class Name: TestRot90
Method Name: test_polygons_k_is_list
Project Name: aleju/imgaug
Commit Name: 3940494bc2aea08e19ac40b58e7f8dd52be257bd
Time: 2019-09-29
Author: kontakt@ajung.name
File Name: test/augmenters/test_geometric.py
Class Name: TestRot90
Method Name: test_polygons_k_is_3_and_minus1
Project Name: aleju/imgaug
Commit Name: 3940494bc2aea08e19ac40b58e7f8dd52be257bd
Time: 2019-09-29
Author: kontakt@ajung.name
File Name: test/augmenters/test_geometric.py
Class Name: TestRot90
Method Name: test_polygons_k_is_1_and_5
Project Name: aleju/imgaug
Commit Name: 3940494bc2aea08e19ac40b58e7f8dd52be257bd
Time: 2019-09-29
Author: kontakt@ajung.name
File Name: test/augmenters/test_geometric.py
Class Name: TestRot90
Method Name: test_polygons_k_is_2