code: def test_case_when_default_array(df):
      """
      Test case_when for scenarios where `default` is array-like
      """
      default = np.arange(len(df))
      result = df.case_when(
          "numbers > 1",
          lambda df: df.numbers + 10,
          default=default,
          column_name="bleh",
      )
      expected = np.where(df.numbers > 1, df.numbers + 10, default)
      expected = df.assign(bleh=expected)
      assert_frame_equal(result, expected, check_dtype=False)
  
imports: import numpy
  import pandas
  import pytest
  from hypothesis import given, settings
  from pandas.testing import assert_frame_equal
  from janitor.testing_utils.strategies import categoricaldf_strategy, df_strategy
label_desc: Use image node_id 12 for calling a global function with example usage: test_case_when_default_array(df) without return types