add linecapsjoin sample test

This commit is contained in:
Stani 2015-07-01 14:44:51 +02:00
parent 19b20e1fba
commit 8e69b2d8d6
2 changed files with 10 additions and 0 deletions

View file

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

View file

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