SDL_image: test: Fix confusing assertion messages

From bf20bf382aa528b4db350edb584a1ea3aef67a6d Mon Sep 17 00:00:00 2001
From: Simon McVittie <[EMAIL REDACTED]>
Date: Mon, 23 May 2022 19:08:56 +0100
Subject: [PATCH] test: Fix confusing assertion messages

The sense of these assertions is the reverse of what the message would
suggest.

Fixes: 59dff46 "Add a simple automated test"
Signed-off-by: Simon McVittie <smcv@collabora.com>
---
 test/main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/main.c b/test/main.c
index d0aa74f..8f3bab1 100644
--- a/test/main.c
+++ b/test/main.c
@@ -653,7 +653,7 @@ FormatLoadTest(const Format *format,
         ConvertToRgba32(&surface);
         diff = SDLTest_CompareSurfaces(surface, reference, format->tolerance);
         SDLTest_AssertCheck(diff == 0,
-                            "Surface differed from reference by at least %d in %d pixels",
+                            "Surface differed from reference by at most %d in %d pixels",
                             format->tolerance, diff);
     }
 
@@ -764,7 +764,7 @@ FormatSaveTest(const Format *format,
 
         diff = SDLTest_CompareSurfaces(surface, reference, format->tolerance);
         SDLTest_AssertCheck(diff == 0,
-                            "Surface differed from reference by at least %d in %d pixels",
+                            "Surface differed from reference by at most %d in %d pixels",
                             format->tolerance, diff);
     }