code: def test_large_snowflakes_size(self):
      # Test for PR #471
      # Snowflakes size is achieved via downscaling. Large values for
      # snowflakes_size lead to more downscaling. Hence, values close to 1.0
      # incur risk that the image is downscaled to (0, 0) or similar values.
      aug = iaa.SnowflakesLayer(
          density=0.95,
          density_uniformity=0.5,
          flake_size=1.0,
          flake_size_uniformity=0.5,
          angle=0.0,
          speed=0.5,
          blur_sigma_fraction=0.001,
      )
  
      nb_seen = 0
      for _ in np.arange(50):
          image = np.zeros((16, 16, 3), dtype=np.uint8)
  
          image_aug = aug.augment_image(image)
  
          assert np.std(image_aug) < 1
          if np.average(image_aug) > 128:
              nb_seen += 1
      assert nb_seen > 30
  
imports: from __future__ import print_function, division, absolute_import
  import sys
  import numpy
  import cv2
  import imgaug
  from imgaug import augmenters
  from imgaug import parameters
  from imgaug.testutils import reseed, runtest_pickleable_uint8_img, is_parameter_instance
label_desc: Use image node_id 2 for calling the TestSnowflakesLayer obj's underlying member method code with example usage: obj.test_large_snowflakes_size() without return types