diff --git a/raster/raster_test.go b/raster/raster_test.go index 21840d7..7a70968 100644 --- a/raster/raster_test.go +++ b/raster/raster_test.go @@ -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) {