Debian Codegraph @

morfologik-speller/src/test/java/morfologik/speller/HMatrixTest.java

raw symbols SCIP
1 package morfologik.speller;
2
3 import static org.junit.Assert.*;
4
5 import morfologik.speller.HMatrix;
6
7 import org.junit.Test;
8
9 public class HMatrixTest {
10 private static final int MAX_WORD_LENGTH = 120;
11
12 @Test
13 public void stressTestInit() {
14 for (int i = 0; i < 10; i++) { // test if we don't get beyond array limits etc.
15 HMatrix H = new HMatrix(i, MAX_WORD_LENGTH);
16 assertEquals(0, H.get(1, 1));
17 }
18 }
19 }