diff options
Diffstat (limited to 'tests/testmatrix.c')
-rw-r--r-- | tests/testmatrix.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/testmatrix.c b/tests/testmatrix.c index 403dece1..2c7b39a2 100644 --- a/tests/testmatrix.c +++ b/tests/testmatrix.c @@ -160,9 +160,9 @@ test_matrix_transform_rect (void) pango_matrix_transform_rectangle (&m, &rect); g_assert_cmpfloat_with_epsilon (rect.x, 0, 0.5); - g_assert_cmpfloat_with_epsilon (rect.y, - M_SQRT2 / 2 * PANGO_SCALE, 0.5); - g_assert_cmpfloat_with_epsilon (rect.width, M_SQRT2 * PANGO_SCALE, 0.5); - g_assert_cmpfloat_with_epsilon (rect.height, M_SQRT2 * PANGO_SCALE, 0.5); + g_assert_cmpfloat_with_epsilon (rect.y, - G_SQRT2 / 2 * PANGO_SCALE, 0.5); + g_assert_cmpfloat_with_epsilon (rect.width, G_SQRT2 * PANGO_SCALE, 0.5); + g_assert_cmpfloat_with_epsilon (rect.height, G_SQRT2 * PANGO_SCALE, 0.5); } static void |