Jason Turner 46e7d0ab99 Clean up tab vs space issues
discovered by @axelstudios
2014-05-23 09:56:55 -06:00

21 lines
207 B
ChaiScript

def bob(x, y, z) {
x + y + z
}
def bob(x, y) {
x - y
}
def bob(x) {
-x
}
def bob() {
10
}
assert_equal(10, bob())
assert_equal(-5, bob(5))
assert_equal(-1, bob(5,6))
assert_equal(18, bob(5,6,7))