redirect results of raster_test to output
This commit is contained in:
parent
d4e1581526
commit
572711ae7e
1 changed files with 4 additions and 4 deletions
|
@ -74,7 +74,7 @@ func TestFreetype(t *testing.T) {
|
|||
painter.SetColor(color)
|
||||
rasterizer.Rasterize(painter)
|
||||
|
||||
savepng("_testFreetype.png", img)
|
||||
savepng("../output/raster_TestFreetype.png", img)
|
||||
}
|
||||
|
||||
func TestFreetypeNonZeroWinding(t *testing.T) {
|
||||
|
@ -100,7 +100,7 @@ func TestFreetypeNonZeroWinding(t *testing.T) {
|
|||
painter.SetColor(color)
|
||||
rasterizer.Rasterize(painter)
|
||||
|
||||
savepng("_testFreetypeNonZeroWinding.png", img)
|
||||
savepng("../output/raster_TestFreetypeNonZeroWinding.png", img)
|
||||
}
|
||||
|
||||
func TestRasterizer(t *testing.T) {
|
||||
|
@ -116,7 +116,7 @@ func TestRasterizer(t *testing.T) {
|
|||
//PolylineBresenham(img, image.Black, poly...)
|
||||
|
||||
r.RenderEvenOdd(img, &color, &poly, tr)
|
||||
savepng("_testRasterizer.png", img)
|
||||
savepng("../output/raster_TestRasterizer.png", img)
|
||||
}
|
||||
|
||||
func TestRasterizerNonZeroWinding(t *testing.T) {
|
||||
|
@ -132,7 +132,7 @@ func TestRasterizerNonZeroWinding(t *testing.T) {
|
|||
//PolylineBresenham(img, image.Black, poly...)
|
||||
|
||||
r.RenderNonZeroWinding(img, &color, &poly, tr)
|
||||
savepng("_testRasterizerNonZeroWinding.png", img)
|
||||
savepng("../output/raster_TestRasterizerNonZeroWinding.png", img)
|
||||
}
|
||||
|
||||
func BenchmarkFreetype(b *testing.B) {
|
||||
|
|
Loading…
Reference in a new issue