code: def test_original_column_values_not_altered(
      dataframe, case_sensitive
  ):
      """Checks that the column to be counted is not altered by the case-
      switching logic implemented by `count_cumulative_unique`.
      """
      before = np.array(["a", "b", "c", "A", "B", "C", "a", "b", "c"])
      dataframe["ccu"] = before
  
      df = dataframe.count_cumulative_unique(
          "ccu",
          dest_column_name="ccu_count",
          case_sensitive=case_sensitive,
      )
      after = df["ccu"].to_numpy()
  
      assert (before == after).all()
  
file_path: pyjanitor/tests/functions/test_count_cumulative_unique.py
imports: import numpy
  import pandas
  import pytest
label_desc: Use image node_id 2 for calling a global function with example usage: test_original_column_values_not_altered(dataframe, case_sensitive) without return types