@requires_application()
def test_arrow_reactive():
 if (os.getenv('APPVEYOR', '').lower() == 'true'):
  raise SkipTest('AppVeyor has unknown failure')
 with TestingCanvas() as c:
  arrow = visuals.Arrow(pos=vertices, arrows=arrows, connect='segments', parent=c.scene)
  arrow.arrow_type = 'stealth'
  assert_image_approved(c.render(), 'visuals/arrow_reactive1.png')
  arrow.arrow_size = 20
  assert_image_approved(c.render(), 'visuals/arrow_reactive2.png')

@ requires_application ( ) def test_arrow_reactive ( ) : if ( os . getenv ( 'APPVEYOR' , '' ) . lower ( ) == 'true' ) : raise SkipTest ( 'AppVeyor has unknown failure' ) with TestingCanvas ( ) as c : arrow = visuals . Arrow ( pos = vertices , arrows = arrows , connect = 'segments' , parent = c . scene ) arrow . arrow_type = 'stealth' assert_image_approved ( c . render ( ) , 'visuals/arrow_reactive1.png' ) arrow . arrow_size = 20 assert_image_approved ( c . render ( ) , 'visuals/arrow_reactive2.png' )
tests the reactive behaviour of the arrowvisual properties .