Ejemplo n.º 1
0
        public void Test1()
        {
            var w = new World();
            var s = @"

E68AAYYAAQIICQoLEBESExQVFhcYGRobICEiIyQlJicoKSorMDEyMzQ1Njc4OTo7QEFCQ0RFRkdISUpL
UFFSU1RVVldYWVpbYGFiY2RlZmdoaWprcHFyc3R1dnd4eXp7gIGCg4SFhoeIiYqLkJGSk5SVlpeYmZqb
oKGio6SlpqeoqaqrsLGys7m6uwwAAQACAAEBAAABAQEBAAECAAIABJurursBuwACuroCAQGbmwMBARIB
CRsgJiorR0twdJCRlZugsro=

".Replace("\r\n", "").Replace(" ", "");

            w.Load(s);

            var s1 = w.Serialize();

            Assert.AreEqual(s, s1);
            var cells = w.GetValidCellsToTrain(0).ToArray();

            Player.DoMoves(w);

            //var cells1 = w.GetValidCellsToMove(u.Value).ToArray();
        }