# -*- coding: utf-8 -*- """ Created on Thu Sep 22 09:19:28 2016 @author: Hans Fangohr, fangohr@soton.ac.uk """ def area(a, b): """Given the lengths a and b of the sides of a rectangle, compute and return the area of the shape.""" return a * b def test_area(): print("Running tests for area function") assert area(0, 0) == 0 assert area(1, 2) == 2 assert area(2, 1) == 2 assert area(1., 2) == 2 def _internalf(): pass def f(a, b, c): print("a = {}, b = {}, c = {}".format(a, b, c)) if __name__ == "__main__": test_area() print("Marker 2")