예제 #1
0
        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);
        }
예제 #2
0
        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);
        }