def testPatternMatching(self): self.assertEqual( ((1, 3), 4, (5, 6)), instructions.interpret(test_programs.synthetic_pattern_program()))
def interpret(n): return instructions.interpret( test_programs.fibonacci_function_calls(), n)
def interpret(n): return instructions.interpret(test_programs.fibonacci_program(), n)
def interpret(n): return instructions.interpret( test_programs.synthetic_pattern_variable_program(), n)
def interpret(n): return instructions.interpret(test_programs.single_if_program(), n)
def interpret(n): return instructions.interpret(test_programs.constant_program(), n)