From 0f38573008c83b6d0d5684ab722508dc1ec1e67c Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 24 Jun 2023 17:35:49 -0400 Subject: [PATCH] tests: Less degenerate, please We were inadvertendly using 95% degenerate paths, instead of 5%. Oops. --- testsuite/gsk/path.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsuite/gsk/path.c b/testsuite/gsk/path.c index 527dcbdeda..4921d929d8 100644 --- a/testsuite/gsk/path.c +++ b/testsuite/gsk/path.c @@ -317,7 +317,7 @@ create_random_path (guint max_contours) guint i, n; /* 5% chance for a weird shape */ - if (g_test_rand_int_range (0, 20)) + if (!g_test_rand_int_range (0, 20)) return create_random_degenerate_path (max_contours); builder = gsk_path_builder_new ();