summaryrefslogtreecommitdiff
path: root/test/get-and-set.c
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2005-08-31 13:33:42 +0000
committerCarl Worth <cworth@cworth.org>2005-08-31 13:33:42 +0000
commiteb2316ecc7dfe2f7a87153c0094bda8754f6d36f (patch)
tree3a5c42ab5649f8398dacfbb4e8ab9568fa7148e9 /test/get-and-set.c
parent464c6dffcf251d4b0089e50b716979da5e3b9a5a (diff)
downloadcairo-eb2316ecc7dfe2f7a87153c0094bda8754f6d36f.tar.gz
Fix test to not try to set a non-invertible matrix. (We'd gotten away with this due to round-off error on many systems). Fixes one out of six failures in bug #4245.
Diffstat (limited to 'test/get-and-set.c')
-rw-r--r--test/get-and-set.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/get-and-set.c b/test/get-and-set.c
index 72d661047..1ebdddd0e 100644
--- a/test/get-and-set.c
+++ b/test/get-and-set.c
@@ -52,7 +52,7 @@ settings_t settings[] = {
CAIRO_LINE_CAP_SQUARE,
CAIRO_LINE_JOIN_ROUND,
3.14,
- {1.0, 2.0, 3.0, 4.0, 5.0, 6.0}
+ {2.0, 0.0, 0.0, 2.0, 5.0, 5.0}
},
{
CAIRO_OPERATOR_ATOP,
@@ -62,7 +62,7 @@ settings_t settings[] = {
CAIRO_LINE_CAP_ROUND,
CAIRO_LINE_JOIN_BEVEL,
1000.0,
- {.1, .01, .001, .0001, .00001, .000001}
+ {-3.0, 1.0, 1.0, -3.0, -4, -4}
}
};