def test_various_index_errors():
    """ Some things that won'f work with input outside grid. """
    board = Board(4, 2, 3, 3)
    with pytest.raises(IndexError):
        board._Board__init_next_gen(10, 10)
    with pytest.raises(IndexError):
        board._Board__update_binary_grid(10, 10, 1)
    with pytest.raises(IndexError):
        board._Board__revive_next_gen(10, 10)