def test_num_live_neighbours_t(): board = [[False, False, False], [False, True, True], [False, False, True]] val = life.num_live_neighbours(board, 0, 1) assert val == 2
def test_num_live_neighbours_c(): board = [[True, False, False, True], [True, True, True, False], [False, True, True, False], [True, True, True, True]] val = life.num_live_neighbours(board, 2, 2) assert val == 6