diff options
author | patthoyts <patthoyts@users.sourceforge.net> | 2008-10-07 00:10:07 (GMT) |
---|---|---|
committer | patthoyts <patthoyts@users.sourceforge.net> | 2008-10-07 00:10:07 (GMT) |
commit | 01f60c1822d79d1e3fabe3a6927e171133dea465 (patch) | |
tree | b0007825c5b06d89c801e6373ec10da94dc257c1 /tests/canvRect.test | |
parent | 5aeb51bc17cdc6ed0610f83a87aa404ba60cd449 (diff) | |
download | tk-01f60c1822d79d1e3fabe3a6927e171133dea465.zip tk-01f60c1822d79d1e3fabe3a6927e171133dea465.tar.gz tk-01f60c1822d79d1e3fabe3a6927e171133dea465.tar.bz2 |
Removed dependency on default precision
Diffstat (limited to 'tests/canvRect.test')
-rw-r--r-- | tests/canvRect.test | 10 |
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 { |