From 15102c1fe9b86daa1f303f245aac11c8b45175bf Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Tue, 2 Aug 2016 01:04:38 -0400 Subject: [PATCH] tests: Test the arc shape. --- tests/examples/gears/shape/arc.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/examples/gears/shape/arc.lua diff --git a/tests/examples/gears/shape/arc.lua b/tests/examples/gears/shape/arc.lua new file mode 100644 index 000000000..6fc696d4a --- /dev/null +++ b/tests/examples/gears/shape/arc.lua @@ -0,0 +1,10 @@ +local shape,cr,show = ... --DOC_HIDE + +shape.arc(cr,70,70, 10) +show(cr) --DOC_HIDE + +shape.arc(cr,70,70, 10, nil, nil, true, true) +show(cr) --DOC_HIDE + +shape.arc(cr,70,70, nil, 0, 2*math.pi) +show(cr) --DOC_HIDE