add postscript sample test

This commit is contained in:
Stani 2015-07-01 15:15:37 +02:00
parent 8e69b2d8d6
commit a861276f40
2 changed files with 10 additions and 0 deletions

View file

@ -13,6 +13,7 @@ import (
"github.com/stanim/draw2d.samples/helloworld" "github.com/stanim/draw2d.samples/helloworld"
"github.com/stanim/draw2d.samples/line" "github.com/stanim/draw2d.samples/line"
"github.com/stanim/draw2d.samples/linecapjoin" "github.com/stanim/draw2d.samples/linecapjoin"
"github.com/stanim/draw2d.samples/postscript"
) )
func TestSampleAndroid(t *testing.T) { func TestSampleAndroid(t *testing.T) {
@ -42,3 +43,7 @@ func TestSampleLine(t *testing.T) {
func TestSampleLineCap(t *testing.T) { func TestSampleLineCap(t *testing.T) {
test(t, linecapjoin.Main) test(t, linecapjoin.Main)
} }
func TestSamplePostscript(t *testing.T) {
test(t, postscript.Main)
}

View file

@ -13,6 +13,7 @@ import (
"github.com/stanim/draw2d.samples/helloworld" "github.com/stanim/draw2d.samples/helloworld"
"github.com/stanim/draw2d.samples/line" "github.com/stanim/draw2d.samples/line"
"github.com/stanim/draw2d.samples/linecapjoin" "github.com/stanim/draw2d.samples/linecapjoin"
"github.com/stanim/draw2d.samples/postscript"
) )
func TestSampleAndroid(t *testing.T) { func TestSampleAndroid(t *testing.T) {
@ -40,3 +41,7 @@ func TestSampleLine(t *testing.T) {
func TestSampleLineCap(t *testing.T) { func TestSampleLineCap(t *testing.T) {
test(t, linecapjoin.Main) test(t, linecapjoin.Main)
} }
func TestSamplePostscript(t *testing.T) {
test(t, postscript.Main)
}