ChaiScript/unittests/mmd2.chai
2009-07-09 17:07:29 +00:00

10 lines
150 B
ChaiScript

def bob(x, y) : x > 10 { x - y }
def bob(x, y) : x > 5 { x - y + 10 }
def bob(x, y) { x + y }
print(bob(3, 4))
print(bob(6, 7))
print(bob(11, 12))