docstr: Test if function get_all_scores works as expected.
docstr_tok: ["Test","if","function","get_all_scores","works","as","expected","."]
code: def test_get_all_scores(self):
      """
      Test if function get_all_scores works as expected.
      """
      self.assertTrue(
          isinstance(self.detector1.get_all_scores(), TimeSeries)
      )
      self.assertEqual(
          len(self.detector1.get_all_scores()),
          len(self.detector1.time_series),
      )
  
imports: import os
  import sys
  import unittest
  from luminol import exceptions
  from luminol.anomaly_detector import AnomalyDetector
  from luminol.modules.time_series import TimeSeries
  from luminol.algorithms.anomaly_detector_algorithms import AnomalyDetectorAlgorithm
label_desc: Use image node_id 10 for calling the TestAnomalyDetector obj's underlying member method code with example usage: obj.test_get_all_scores() without return types