示例#1
0
 def test_win_checkbox_button(self):
     factory = WinFactory()
     button = factory.create_button()
     checkbox = factory.create_checkbox()
     self.assertEqual(
         "Отрисовка чек-бокса и Отрисовка кнопки в стиле Windows",
         checkbox.paint_with_button(button))
示例#2
0
 def test_win_button(self):
     factory = WinFactory()
     button = factory.create_button()
     self.assertEqual("Отрисовка кнопки в стиле Windows", button.paint())