def test_exception_raised_if_grid_rows_different_lengths(): '''Should raise the InconsistentGridError exception''' largest_grid_product(FAIL_GRID, 2)
def test_largest_grid_product_mine(): '''Expect 2 * 5 * 5 * 5 = 250''' assert largest_grid_product(TEST_GRID, 4) == 250
def test_exception_raised_if_grid_smaller_than_n(): '''Should raise the InsufficientGridSizeError exception''' largest_grid_product(TEST_GRID, 6)