
"""
Define a class named Rectangle, which can be constructed by a length and width.
The Rectangle class needs to have a method that can compute area.
Finally, write a unit test to test this method.
"""
import random

class rectangle():

    def __int__(self, width, length):
        self.width=width
        self.length=length

    def area():
        return length*width


length=random.randint(1,100)
width=random.randint(1,100)

