add postscript sample test
This commit is contained in:
parent
8e69b2d8d6
commit
a861276f40
2 changed files with 10 additions and 0 deletions
|
@ -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)
|
||||||
|
}
|
||||||
|
|
|
@ -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)
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue