~jpakkane/libcolumbus/hud-rework

« back to all changes in this revision

Viewing changes to test/TrieTest.cc

  • Committer: Jussi Pakkanen
  • Date: 2014-02-28 14:26:31 UTC
  • Revision ID: jussi.pakkanen@canonical.com-20140228142631-q8rqohi4g9fc68e1
Some test cleanup.

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
    Word w3("a");
54
54
    Word w4("x");
55
55
    Word result;
56
 
    TrieOffset node1, node2;
57
56
 
58
57
    WordID i1 = 1;
59
 
    WordID i2 = 2;
60
58
 
61
59
    assert(t.numWords() == 0);
62
60
    node1 = t.insertWord(w1, i1);