From 572711ae7ef9a11355091b82dc7b5ab730930a80 Mon Sep 17 00:00:00 2001 From: Stani Date: Fri, 10 Jul 2015 16:18:49 +0200 Subject: [PATCH] redirect results of raster_test to output --- raster/raster_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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) {