Parent Directory | Revision Log | Patch
revision 1.3 by benja, Tue Apr 22 11:04:34 2003 UTC | revision 1.4 by benja, Tue Apr 22 13:23:19 2003 UTC | |
---|---|---|
# | Line 86 def testTestSpan(): | Line 86 def testTestSpan(): |
86 | If not, all other tests in this file will fail too. | If not, all other tests in this file will fail too. |
87 | """ | """ |
88 | assert sc.getCurrent().length() == 2 | assert sc.getCurrent().length() == 2 |
89 | s = sc.getCurrent().getSize() | s = sc.getCurrent().getPage(1).getSize() |
90 | assert s.width == 612 | assert s.width == 595 |
91 | assert s.height == 792 | assert s.height == 842 |
92 | ||
93 | def assertApprox(delta, a, b): | def assertApprox(delta, a, b): |
94 | assert abs(a-b) < delta | assert abs(a-b) < delta |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |