diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-12-12 09:58:32 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-12-26 23:56:25 -0500 |
commit | aa0f1ce956199bc9f0cf89ff646db80ad11f9cd0 (patch) | |
tree | 1e0633b34e954a3d9b56058f4328ddd735b216d3 | |
parent | e9d01c1a63a7893bc1529608df1fb09c77aac6fc (diff) | |
download | gtk+-aa0f1ce956199bc9f0cf89ff646db80ad11f9cd0.tar.gz |
Only test conic weights between 1/20 and 20
The rest just give us no end of numeric trouble.
-rw-r--r-- | testsuite/gsk/curve.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/gsk/curve.c b/testsuite/gsk/curve.c index b04d9b0aba..649149f360 100644 --- a/testsuite/gsk/curve.c +++ b/testsuite/gsk/curve.c @@ -12,9 +12,9 @@ static float random_weight (void) { if (g_test_rand_bit ()) - return g_test_rand_double_range (0, 100); + return g_test_rand_double_range (0, 20); else - return 1.0 / g_test_rand_double_range (1, 100); + return 1.0 / g_test_rand_double_range (1, 20); } static void |