4e67889630e4204f517915c72f5792b80641ea80,test/augmenters/test_blend.py,TestAlphaElementwise,_test_cba_factor_is_0499,#Any#Any#Any#,1432
Before Change
observed = getattr(aug, augf_name)([cbaoi])
expected = cls._shift_cbaoi(cbaoi, left=1)
cls._compare_cbaois(observed, expected)
@classmethod
def _test_cba_factor_is_1_and_per_channel(cls, augf_name, cbaoi):
aug = iaa.AlphaElementwise(
After Change
observed = getattr(aug, augf_name)([cbaoi])
expected = shift_cbaoi(cbaoi, left=1)
assert_cbaois_equal(observed[0], expected)
@classmethod
def _test_cba_factor_is_1_and_per_channel(cls, augf_name, cbaoi):
aug = iaa.AlphaElementwise(
In pattern: SUPERPATTERN
Frequency: 6
Non-data size: 3
Instances
Project Name: aleju/imgaug
Commit Name: 4e67889630e4204f517915c72f5792b80641ea80
Time: 2019-09-29
Author: kontakt@ajung.name
File Name: test/augmenters/test_blend.py
Class Name: TestAlphaElementwise
Method Name: _test_cba_factor_is_0499
Project Name: aleju/imgaug
Commit Name: 4e67889630e4204f517915c72f5792b80641ea80
Time: 2019-09-29
Author: kontakt@ajung.name
File Name: test/augmenters/test_blend.py
Class Name: TestAlphaElementwise
Method Name: _test_cba_factor_is_0_and_per_channel
Project Name: aleju/imgaug
Commit Name: 4e67889630e4204f517915c72f5792b80641ea80
Time: 2019-09-29
Author: kontakt@ajung.name
File Name: test/augmenters/test_blend.py
Class Name: TestAlpha
Method Name: _test_cba_factor_is_0499
Project Name: aleju/imgaug
Commit Name: 4e67889630e4204f517915c72f5792b80641ea80
Time: 2019-09-29
Author: kontakt@ajung.name
File Name: test/augmenters/test_blend.py
Class Name: TestAlpha
Method Name: _test_cba_factor_is_0
Project Name: aleju/imgaug
Commit Name: 4e67889630e4204f517915c72f5792b80641ea80
Time: 2019-09-29
Author: kontakt@ajung.name
File Name: test/augmenters/test_blend.py
Class Name: TestAlphaElementwise
Method Name: _test_cba_factor_is_0
Project Name: aleju/imgaug
Commit Name: 4e67889630e4204f517915c72f5792b80641ea80
Time: 2019-09-29
Author: kontakt@ajung.name
File Name: test/augmenters/test_blend.py
Class Name: TestAlpha
Method Name: _test_cba_factor_is_0_and_per_channel