def METHOD_NAME():
    c = Console('python -m diofant --no-ipython')
    assert c.expect_exact('>>> ') == 0
    assert c.send('1 + 2\r\n') == 7
    assert c.expect_exact('3\r\n>>> ') == 0
    assert c.send('1/2\r\n') == 5
    assert c.expect_exact('1/2\r\n>>> ') == 0
    assert c.send('x\r\n') == 3
    assert c.expect_exact('x\r\n>>> ') == 0
    assert c.expect_exact('>>> ') == 0
    assert c.send('ℕ = 1\r\n') == 9
    assert c.expect_exact('\r\n>>> ') == 0
    assert c.send('N = 2\r\n') == 7
    assert c.expect_exact('\r\n>>> ') == 0
    assert c.send('ℕ\r\n') == 5
    assert c.expect_exact('2\r\n>>> ') == 0