示例#1
0
    def test_example3_should_just_run(self):
        rows = 20
        cols = 20
        data = ['Generation 1:', '{} {}'.format(rows, cols)]
        for row in range(rows):
            data.append(self._random_line(cols))

        GameOfLife.from_list(data).run()