text: from random import randint
  
  from retrying import retry
  
  import apysc as ap
  from apysc._animation.animation_height_for_ellipse_interface import \
      AnimationHeightForEllipseInterface
  from tests.testing_helper import assert_attrs
  
  
  class TestAnimationHeightForEllipseInterface:
  
      @retry(stop_max_attempt_number=15, wait_fixed=randint(10, 3000))
      def test_animation_height(self) -> None:
          interface: AnimationHeightForEllipseInterface = \
              AnimationHeightForEllipseInterface()
          interface.variable_name = \
              'test_animation_height_for_ellipse_interface'
          animation_height_for_ellipse: ap.AnimationHeightForEllipse = \
              interface.animation_height(
                  height=100, duration=1000, delay=500,
                  easing=ap.Easing.EASE_OUT_QUINT)
          assert_attrs(
              expected_attrs={
                  '_target': interface,
                  '_height': 100,
                  '_duration': 1000,
                  '_delay': 500,
                  '_easing': ap.Easing.EASE_OUT_QUINT,
              },
              any_obj=animation_height_for_ellipse)
  