static void oldTest() { //prepare cross board ICrossBoard cb = new CrossBoard(); CreateCross(cb); var dict = new Dictionary("../../../dict/cz", cb.MaxWordLength); cb.Preprocess(dict); CrossPattern cp = cb.GetCrossPattern(32); CrossTransformation trans = cp.TryFill(null, "ADELAVOJTAHELA".AsSpan(), dict); //length 14 trans.Transform(cp); }
static void oldTest() { //prepare cross board ICrossBoard cb = new CrossBoard(); CreateCross(cb); var dict = new Dictionary("../../../dict/cz", cb.MaxWordLength); cb.Preprocess(dict); CrossPattern cp = cb.GetCrossPattern(32); CrossTransformation trans = cp.TryFill("ADELAVOJTAHELA", dict); //length 14 trans.Transform(cp); }