Пример #1
0
import sys

from link_data import Rectangle

if __name__ == '__main__':
    w = int(sys.argv[1])
    h = int(sys.argv[2])
    r = Rectangle(w, h, 3)
    print r.header_text()

Пример #2
0
 def test_some_output_for_3_by_3_square(self):
     r = Rectangle(3, 3)
     self.assertIsNotNone(r.header_text())