summaryrefslogtreecommitdiff
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
parent464c6dffcf251d4b0089e50b716979da5e3b9a5a (diff)
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.
-rw-r--r--ChangeLog6
-rw-r--r--test/get-and-set.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 133425d9a..103479e7c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2005-08-31 Carl Worth <cworth@cworth.org>
+ * test/get-and-set.c: 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.
+
+2005-08-31 Carl Worth <cworth@cworth.org>
+
* AUTHORS: Add Radek DoulĂ­k.
* test/.cvsignore:
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}
}
};