Exemplo n.º 1
0
def test_process_function_many_rules():
    def fn2():
        """
    r : g1 g2?
    r : g3
    """

    functions = process_function(fn2)
    assert len(functions) == 3
Exemplo n.º 2
0
def test_process_function_many_rules():
  def fn2():
    """
    r : g1 g2?
    r : g3
    """

  functions = process_function(fn2)
  assert len(functions) == 3
Exemplo n.º 3
0
def test_process_function():
    def fn1():
        "r : g1 g2?"

    functions = process_function(fn1)
    assert len(functions) == 2
Exemplo n.º 4
0
def test_process_function():
  def fn1():
    "r : g1 g2?"

  functions = process_function(fn1)
  assert len(functions) == 2