public void TestGetRandomPiece() { Random r = new Random(DateTime.Now.Millisecond); PieceFactory.Initialize(); Piece gen_piece = PieceFactory.GetRandomPiece(r); Assert.IsNotNull(gen_piece); }