()
Simple tests for the PartialParse.parse_step function
    Warning: these are not exhaustive
Simple tests for the PartialParse.parse_step function
    Warning: these are not exhaustive
Simple tests for the PartialParse . parse_step function Warning : these are not exhaustive
def test_parse_step():
    """Simple tests for the PartialParse.parse_step function
    Warning: these are not exhaustive
    """
    test_step("SHIFT", "S", ["ROOT", "the"], ["cat", "sat"], [],
              ("ROOT", "the", "cat"), ("sat",), ())
    test_step("LEFT-ARC", "LA", ["ROOT", "the", "cat"], ["sat"], [],
              ("ROOT", "cat",), ("sat",), (("cat", "the"),))
    test_step("RIGHT-ARC", "RA", ["ROOT", "run", "fast"], [], [],
              ("ROOT", "run",), (), (("run", "fast"),))
def test_parse_step ( ) : test_step ( "SHIFT" , "S" , [ "ROOT" , "the" ] , [ "cat" , "sat" ] , [ ] , ( "ROOT" , "the" , "cat" ) , ( "sat" , ) , ( ) ) test_step ( "LEFT-ARC" , "LA" , [ "ROOT" , "the" , "cat" ] , [ "sat" ] , [ ] , ( "ROOT" , "cat" , ) , ( "sat" , ) , ( ( "cat" , "the" ) , ) ) test_step ( "RIGHT-ARC" , "RA" , [ "ROOT" , "run" , "fast" ] , [ ] , [ ] , ( "ROOT" , "run" , ) , ( ) , ( ( "run" , "fast" ) , ) )