Michael J. Spencer | c064a9a | 2013-10-18 22:38:04 +0000 | [diff] [blame] | 1 | # RUN: yaml-bench -canonical %s | FileCheck %s |
Michael J. Spencer | 22120c4 | 2012-04-03 23:09:22 +0000 | [diff] [blame] | 2 | |
| 3 | %TAG ! tag:clarkevans.com,2002: |
| 4 | --- !shape |
| 5 | # Use the ! handle for presenting |
| 6 | # tag:clarkevans.com,2002:circle |
| 7 | - !circle |
| 8 | center: &ORIGIN {x: 73, y: 129} |
| 9 | radius: 7 |
| 10 | - !line |
| 11 | start: *ORIGIN |
| 12 | finish: { x: 89, y: 102 } |
| 13 | - !label |
| 14 | start: *ORIGIN |
| 15 | color: 0xFFEEBB |
| 16 | text: Pretty vector drawing. |
Michael J. Spencer | c064a9a | 2013-10-18 22:38:04 +0000 | [diff] [blame] | 17 | |
| 18 | #CHECK: !<tag:clarkevans.com,2002:shape> |
| 19 | #CHECK: !<tag:clarkevans.com,2002:circle> |
| 20 | #CHECK: !<tag:clarkevans.com,2002:line> |
| 21 | #CHECK: !<tag:clarkevans.com,2002:label> |