コード例 #1
0
ファイル: gol03_test.py プロジェクト: hemmerling/codingdojo
 def testDoWeNeedAnotherPeriod(self):
     field = Field()
     cell = Cell()
     cell2 = Cell()
     field.append(Cell)
     field.append(cell2)
     assert field.number_of_neighbours() == 2, 'Field cant count its neighbours'