add linecapsjoin sample test
This commit is contained in:
parent
19b20e1fba
commit
8e69b2d8d6
2 changed files with 10 additions and 0 deletions
|
@ -12,6 +12,7 @@ import (
|
||||||
"github.com/stanim/draw2d.samples/gopher"
|
"github.com/stanim/draw2d.samples/gopher"
|
||||||
"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"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestSampleAndroid(t *testing.T) {
|
func TestSampleAndroid(t *testing.T) {
|
||||||
|
@ -37,3 +38,7 @@ func TestSampleFrameImage(t *testing.T) {
|
||||||
func TestSampleLine(t *testing.T) {
|
func TestSampleLine(t *testing.T) {
|
||||||
test(t, line.Main)
|
test(t, line.Main)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func TestSampleLineCap(t *testing.T) {
|
||||||
|
test(t, linecapjoin.Main)
|
||||||
|
}
|
||||||
|
|
|
@ -12,6 +12,7 @@ import (
|
||||||
"github.com/stanim/draw2d.samples/gopher"
|
"github.com/stanim/draw2d.samples/gopher"
|
||||||
"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"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestSampleAndroid(t *testing.T) {
|
func TestSampleAndroid(t *testing.T) {
|
||||||
|
@ -35,3 +36,7 @@ func TestSampleFrameImage(t *testing.T) {
|
||||||
func TestSampleLine(t *testing.T) {
|
func TestSampleLine(t *testing.T) {
|
||||||
test(t, line.Main)
|
test(t, line.Main)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func TestSampleLineCap(t *testing.T) {
|
||||||
|
test(t, linecapjoin.Main)
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue