/[jsFind]/trunk/t/04words.t
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/t/04words.t

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

revision 1 by dpavlin, Sun Jul 11 20:18:25 2004 UTC revision 4 by dpavlin, Tue Jul 20 17:08:06 2004 UTC
# Line 33  if (-r $dict) { Line 33  if (-r $dict) {
33    
34                  $t->B_search(Key => $_,                  $t->B_search(Key => $_,
35                          Data => {                          Data => {
36                                  "$dict/$_" => {                                  "$dict" => {
37                                                  t => "word: $_",                                                  t => "word: $_",
38                                                  f => 1,                                                  f => 1,
39                                          }                                          }
# Line 57  if (-r $dict) { Line 57  if (-r $dict) {
57                  print T $t->to_dot;                  print T $t->to_dot;
58                  close(T);                  close(T);
59          }          }
60          print STDERR " words.txt created\n";          print STDERR " words.dot created\n";
61    
62          cmp_ok($t->to_jsfind("./html"), '==', $max, " jsfind index");          cmp_ok($t->to_jsfind("./html/words"), '==', $max, " jsfind index");
63  }  }
64    
65    

Legend:
Removed from v.1  
changed lines
  Added in v.4

  ViewVC Help
Powered by ViewVC 1.1.26