Example #1
0
        public void TestGetRandomPiece()
        {
            Random r = new Random(DateTime.Now.Millisecond);

            PieceFactory.Initialize();
            Piece gen_piece = PieceFactory.GetRandomPiece(r);

            Assert.IsNotNull(gen_piece);
        }