Sha256: ca1d1ce0ad3a513be6165b410c5f14203c6296408ce76e02d2e88eaacca67931

Contents?: true

Size: 561 Bytes

Versions: 4

Compression:

Stored size: 561 Bytes

Contents

#!/usr/bin/env ruic
metadata 'MetaData.xml'         # optional; also may be set via -m flag
uia 'projects/Paths/Paths.uia'  # required before other commands

show "Uh oh!", app.errors if app.errors?

main = app.main
paths = main.find _type:'Path'
assert paths.length == 5
assert paths.first == main/"Scene.Layer.Path1"
assert paths.first['width'].value == 17

assert main.find(_type:'PathAnchorPoint').length == 25

assert paths.first.anchors
assert paths.first.anchors.first == paths.first.find(_type:'PathAnchorPoint').first


show "All assertions successful"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
RUIC-0.5.0 test/paths.ruic
RUIC-0.4.4 test/paths.ruic
RUIC-0.4.3 test/paths.ruic
RUIC-0.4.1 test/paths.ruic