Add load factor
diff --git a/datokenizer_test.go b/datokenizer_test.go
index f9c10cc..335c7ee 100644
--- a/datokenizer_test.go
+++ b/datokenizer_test.go
@@ -1,7 +1,6 @@
package datokenizer
import (
- "fmt"
"testing"
"github.com/stretchr/testify/assert"
@@ -45,7 +44,7 @@
assert := assert.New(t)
tok := ParseFile("testdata/tokenizer.fst")
dat := tok.ToDoubleArray()
- fmt.Println("Size:", dat.maxSize)
+ assert.True(dat.loadLevel() >= 70)
assert.True(dat.Match("bau"))
assert.True(dat.Match("bad"))
assert.True(dat.Match("wald gehen"))