Example #1
0
        public bool VerifyDawgCorrectness()
        {
            for (var i = 0; i < _dawg.WordCount; i++)
            {
                var word = _dawg.GetWord(i);
                if (_dawg.GetIndex(word) != i)
                {
                    return(false);
                }
            }

            return(true);
        }