#!/usr/bin/python3
import unittest
from models.base import Base
from models.rectangle import Rectangle
from models.square import Square


class testBase(unittest.TestCase):
    """ class to test base class """
    def setUp(self):
        """ variable instance test """
        Base._Base_nb_objects = 0
        pass

    def test_area(self):
        rec = Rectangle(2, 3)
        self.assertEqual(rec.area, 6)
