code: def test_flag_jumps_default_args(timeseries_dataframe):
      """
      Test the default values behave as expected.
      Namely, `scale=percentage`, `direction=any`, `threshold=0.0` and
      `strict=False`.
      """
      # Setup
      df = timeseries_dataframe
      orig_cols = df.columns
  
      expected = np.ones((10, 5), dtype=int)
      expected[0, :] = 0
      expected_cols = [f"{c}_jump_flag" for c in orig_cols]
      expected_df = pd.DataFrame(
          expected, columns=expected_cols, index=df.index
      )
  
      # Exercise
      df = df.flag_jumps()
  
      # Verify
      assert list(df.columns) == list(orig_cols) + expected_cols
      assert df.filter(regex="flag").equals(expected_df)
  
imports: import numpy
  import pandas
  import pytest
  import janitor.timeseries
  from janitor.errors import JanitorError
  from janitor.timeseries import _flag_jumps_single_col
label_desc: Use image node_id 14 for calling a global function with example usage: test_flag_jumps_default_args(timeseries_dataframe) without return types