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) +}