/[alph]/alph/org/nongnu/alph/impl/stormalph.test
ViewVC logotype

Diff of /alph/org/nongnu/alph/impl/stormalph.test

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by tjl, Tue Apr 22 20:10:15 2003 UTC revision 1.8 by tjl, Wed Apr 23 01:45:13 2003 UTC
# Line 32  def testImg(): Line 32  def testImg():
32                         'application/pdf')                         'application/pdf')
33      assert sb.getCurrent().length() == 2      assert sb.getCurrent().length() == 2
34    
35        sp0   = sb.getCurrent().getPage(0)
36        sp1   = sb.getCurrent().getPage(1)
37        sp1_1 = sb.getCurrent().subSpan(1).getPage(0)
38    
39        assert sp0.getPageIndex() == 0
40        assert sp1 .getPageIndex()== 1
41        assert sp1_1 .getPageIndex()== 1
42    
43        assert not sp0.equals(sp1)
44        assert sp1_1.equals(sp1)
45    
46        assert not (sp0.hashCode() == sp1.hashCode())
47    
48  def testAddTwice():  def testAddTwice():
49      pool = storm.impl.TransientPool(java.util.HashSet())      pool = storm.impl.TransientPool(java.util.HashSet())
50      salph = alph.impl.StormAlph(pool)      salph = alph.impl.StormAlph(pool)

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26