From 8e69b2d8d6ee768310deb4dc73fc39770ae93bd5 Mon Sep 17 00:00:00 2001 From: Stani Date: Wed, 1 Jul 2015 14:44:51 +0200 Subject: [PATCH] add linecapsjoin sample test --- pdf2d/samples_test.go | 5 +++++ samples_test.go | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/pdf2d/samples_test.go b/pdf2d/samples_test.go index 302c78e..77f0d44 100644 --- a/pdf2d/samples_test.go +++ b/pdf2d/samples_test.go @@ -12,6 +12,7 @@ import ( "github.com/stanim/draw2d.samples/gopher" "github.com/stanim/draw2d.samples/helloworld" "github.com/stanim/draw2d.samples/line" + "github.com/stanim/draw2d.samples/linecapjoin" ) func TestSampleAndroid(t *testing.T) { @@ -37,3 +38,7 @@ func TestSampleFrameImage(t *testing.T) { func TestSampleLine(t *testing.T) { test(t, line.Main) } + +func TestSampleLineCap(t *testing.T) { + test(t, linecapjoin.Main) +} diff --git a/samples_test.go b/samples_test.go index ae68c14..4b3d749 100644 --- a/samples_test.go +++ b/samples_test.go @@ -12,6 +12,7 @@ import ( "github.com/stanim/draw2d.samples/gopher" "github.com/stanim/draw2d.samples/helloworld" "github.com/stanim/draw2d.samples/line" + "github.com/stanim/draw2d.samples/linecapjoin" ) func TestSampleAndroid(t *testing.T) { @@ -35,3 +36,7 @@ func TestSampleFrameImage(t *testing.T) { func TestSampleLine(t *testing.T) { test(t, line.Main) } + +func TestSampleLineCap(t *testing.T) { + test(t, linecapjoin.Main) +}