Add two values.
def add(a,b):
return a+b
# TODO: Replace examples and use TDD development by writing your own tests
# These are some of the methods available:
# test.expect(boolean, [optional] message)
test.assert_equals(add(4,3), 7)# test.assert_not_equals(actual, expected, [optional] message)
# You can use Test.describe and Test.it to write BDD style test groupings
Multiple the two attributes
def multiple(a,b):
return a*b
test.assert_equals(multiple(3,4), 12)