/[fenfire]/fenfire/org/fenfire/test/fen.py
ViewVC logotype

Diff of /fenfire/org/fenfire/test/fen.py

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

revision 1.1 by tjl, Thu May 8 13:30:31 2003 UTC revision 1.2 by tjl, Thu May 8 13:38:57 2003 UTC
# Line 2  Line 2 
2    
3  # Helper routines for making "normal" fens  # Helper routines for making "normal" fens
4    
5    import java
6    
7  from org import fenfire as ff  from org import fenfire as ff
8    from org.nongnu import alph
9    from org.nongnu import storm
10    
11  def newFen():  def newFen():
12        pool = storm.impl.TransientPool(java.util.HashSet())
13        myalph = alph.impl.StormAlph(pool)
14    
15      fen = ff.Fen()      fen = ff.Fen()
16      fen.graph = fen.constgraph = ff.swamp.impl.HashGraph()      fen.graph = fen.constgraph = ff.swamp.impl.HashGraph()
17      fen.txt = ff.impl.SimpleNodeContent(fen, myalph);      fen.txt = ff.impl.SimpleNodeContent(fen, myalph);

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

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