tests: Less degenerate, please

We were inadvertendly using 95% degenerate paths,
instead of 5%. Oops.
This commit is contained in:
Matthias Clasen
2023-06-24 17:35:49 -04:00
parent 555aa8e409
commit 0f38573008

View File

@@ -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 ();