<filename>2048game/test/test_p_textual.py
from src.p_textual import *
from pytest import *
import mock


def test_read_player_command(monkeypatch):
    monkeypatch.setattr('__builtin__.input',lambda x: 'l')
    assert read_player_command() == 'l'
