code: def test_kswin():
      kswin = drift.KSWIN(
          alpha=0.0001, window_size=200, stat_size=100, seed=42
      )
      expected_indices = [1042]
      detected_indices = perform_test(kswin, data_stream_1)
      assert detected_indices == expected_indices
  
file_path: river/river/drift/test_drift_detectors.py
imports: from __future__ import annotations
  import numpy
  import pytest
  from river import drift
label_desc: Use image node_id 6 for calling a global function with example usage: test_kswin() without return types