summaryrefslogtreecommitdiffstats
path: root/tests/canvRect.test
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@noemail.net>2008-10-07 00:10:07 (GMT)
committerpatthoyts <patthoyts@noemail.net>2008-10-07 00:10:07 (GMT)
commitac63cdba05cb510b934f0eed1b3dc6c2c50b7d26 (patch)
treeb0007825c5b06d89c801e6373ec10da94dc257c1 /tests/canvRect.test
parent6fded33ea1f589395b0fac4550348496b63cb17e (diff)
downloadtk-ac63cdba05cb510b934f0eed1b3dc6c2c50b7d26.zip
tk-ac63cdba05cb510b934f0eed1b3dc6c2c50b7d26.tar.gz
tk-ac63cdba05cb510b934f0eed1b3dc6c2c50b7d26.tar.bz2
Removed dependency on default precision
FossilOrigin-Name: ec65fd198741d90451f11e066e8208ae3719b706
Diffstat (limited to 'tests/canvRect.test')
-rw-r--r--tests/canvRect.test10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/canvRect.test b/tests/canvRect.test
index c9f2dfb..9c34293 100644
--- a/tests/canvRect.test
+++ b/tests/canvRect.test
@@ -6,7 +6,7 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: canvRect.test,v 1.10 2008/08/11 21:33:17 aniap Exp $
+# RCS: @(#) $Id: canvRect.test,v 1.11 2008/10/07 00:10:07 patthoyts Exp $
package require tcltest 2.2
namespace import ::tcltest::*
@@ -417,16 +417,16 @@ test canvRect-9.1 {ScaleRectOval procedure} -setup {
} -body {
.c create rect 100 300 200 350 -tags x
.c scale x 50 100 2 4
- .c coords x
-} -result {150.0 900.0 350.0 1100.0}
+ format {%.6g %.6g %.6g %.6g} {*}[.c coords x]
+} -result {150 900 350 1100}
test canvRect-10.1 {TranslateRectOval procedure} -setup {
.c delete withtag all
} -body {
.c create rect 100 300 200 350 -tags x
.c move x 100 -10
- .c coords x
-} -result {200.0 290.0 300.0 340.0}
+ format {%.6g %.6g %.6g %.6g} {*}[.c coords x]
+} -result {200 290 300 340}
test canvRect-11.1 {RectOvalToPostscript procedure} -constraints {