Exemple #1
0
def test_process_function_many_rules():
    def fn2():
        """
    r : g1 g2?
    r : g3
    """

    functions = process_function(fn2)
    assert len(functions) == 3
Exemple #2
0
def test_process_function_many_rules():
  def fn2():
    """
    r : g1 g2?
    r : g3
    """

  functions = process_function(fn2)
  assert len(functions) == 3
Exemple #3
0
def test_process_function():
    def fn1():
        "r : g1 g2?"

    functions = process_function(fn1)
    assert len(functions) == 2
Exemple #4
0
def test_process_function():
  def fn1():
    "r : g1 g2?"

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