From 062bbcd4ceda77d09e0d73bf5c21f1c21e172a35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20=C4=8C=C3=AD=C5=BE?= Date: Sun, 5 May 2019 20:55:52 +0200 Subject: [PATCH] Fix tests --- test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test.c b/test.c index 99dd1d6..85465e8 100644 --- a/test.c +++ b/test.c @@ -80,8 +80,8 @@ uint16_t testRasterization() numErrors += testTriangleRasterization(5,3, 3,3, 9,3, pixelsEmpty); numErrors += testTriangleRasterization(9,4, 9,0, 9,9, pixelsEmpty); - numErrors += testTriangleRasterization(3,3, 6,6, 9,9, pixelsEmpty); - numErrors += testTriangleRasterization(7,0, 3,3, 0,7, pixelsEmpty); + numErrors += testTriangleRasterization(9,9, 6,6, 3,3, pixelsEmpty); + numErrors += testTriangleRasterization(0,6, 3,3, 6,0, pixelsEmpty); numErrors += testTriangleRasterization(7,7, 7,7, 7,7, pixelsEmpty); uint8_t pixels1[TEST_BUFFER_W * TEST_BUFFER_H] =