commit | 773b1effe3061b9c9bcf523b8f8541ef279a677a | [log] [tgz] |
---|---|---|
author | Akron <nils@diewald-online.de> | Tue Aug 03 17:37:20 2021 +0200 |
committer | Akron <nils@diewald-online.de> | Tue Aug 03 17:37:20 2021 +0200 |
tree | 15578911ea5820e47fc1f5894ca20fc4afb054a2 | |
parent | d66a926e18fe86f9bd750f99dc011b9675512843 [diff] [blame] |
Cache loadlevel
diff --git a/datokenizer_test.go b/datokenizer_test.go index 335c7ee..86df806 100644 --- a/datokenizer_test.go +++ b/datokenizer_test.go
@@ -44,8 +44,9 @@ assert := assert.New(t) tok := ParseFile("testdata/tokenizer.fst") dat := tok.ToDoubleArray() - assert.True(dat.loadLevel() >= 70) + assert.True(dat.LoadLevel() >= 70) assert.True(dat.Match("bau")) assert.True(dat.Match("bad")) assert.True(dat.Match("wald gehen")) + assert.Fail("1") }