from solution import max_gold
import pudb


def test():
    grid = [[0, 6, 0], [5, 8, 7], [0, 9, 0]]
    assert max_gold(grid) == 24

9fa74689f126d48c2ce4469835fc356b6abce583
<mask token>

<mask token>


def test():
    grid = [[0, 6, 0], [5, 8, 7], [0, 9, 0]]
    assert max_gold(grid) == 24

from solution import max_gold
import pudb


def test():
    grid = [[0, 6, 0], [5, 8, 7], [0, 9, 0]]
    assert max_gold(grid) == 24
