code: def test_corner_cases(self):
      y = self.create_data()
      ad = AEDetector(roll_len=314, backend="dummy")
      with pytest.raises(ValueError):
          ad.fit(y)
      ad = AEDetector(roll_len=314)
      with pytest.raises(RuntimeError):
          ad.score()
      y = np.array([1])
      with pytest.raises(ValueError):
          ad.fit(y)
      y = self.create_data()
      y = y.reshape(2, -1)
      with pytest.raises(ValueError):
          ad.fit(y)
  
file_path: analytics-zoo/pyzoo/test/zoo/chronos/detector/anomaly/test_ae_detector.py
imports: import pytest
  import numpy
  from test.zoo.pipeline.utils.test_utils import ZooTestCase
  from zoo.chronos.detector.anomaly.ae_detector import AEDetector
label_desc: Use image node_id 7 for calling the TestAEDetector obj's underlying member method code with example usage: obj.test_corner_cases() without return types