Package com.jpetrak.gate.stringannotation.extendedgazetteer2.trie3

Examples of com.jpetrak.gate.stringannotation.extendedgazetteer2.trie3.StoreStates.test()


  @Test
  public void testStoreStates1() {
    StoreArrayOfCharArrays backing = new StoreArrayOfCharArrays();
    StoreStates store = new StoreStates(backing);
    store.test();
    // creating a StoreStates object also creates the initial state, so the first
    // index must be 5
    int s1 = store.newCharMapState();
    assertEquals(5,s1);
    // also the initial state must have index 0
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.