2013-10-19 06:38:04 +08:00
|
|
|
# RUN: yaml-bench -canonical %s | FileCheck %s
|
2012-04-04 07:09:22 +08:00
|
|
|
|
|
|
|
%TAG ! tag:clarkevans.com,2002:
|
|
|
|
--- !shape
|
|
|
|
# Use the ! handle for presenting
|
|
|
|
# tag:clarkevans.com,2002:circle
|
|
|
|
- !circle
|
|
|
|
center: &ORIGIN {x: 73, y: 129}
|
|
|
|
radius: 7
|
|
|
|
- !line
|
|
|
|
start: *ORIGIN
|
|
|
|
finish: { x: 89, y: 102 }
|
|
|
|
- !label
|
|
|
|
start: *ORIGIN
|
|
|
|
color: 0xFFEEBB
|
|
|
|
text: Pretty vector drawing.
|
2013-10-19 06:38:04 +08:00
|
|
|
|
|
|
|
#CHECK: !<tag:clarkevans.com,2002:shape>
|
|
|
|
#CHECK: !<tag:clarkevans.com,2002:circle>
|
|
|
|
#CHECK: !<tag:clarkevans.com,2002:line>
|
|
|
|
#CHECK: !<tag:clarkevans.com,2002:label>
|