コード例 #1
0
ファイル: gui_test.py プロジェクト: Sid1057/life_test
 def test_draw_world_in_gui(self):
     world = World({
         Cell(0, 0, 'A'),
         Cell(0, 0, 'B'),
         Cell(0, 0, 'C'),
         Cell(0, 0, 'D'),
     })
     gui = Gui()
     gui.set_args(0, 0, 10, 10)
     gui.draw(world)