code: def testManual_2DD(self):
      stratAnalyzer = self.__testManualImpl([10, 9.5, 9, 8, 11, 8], 10)
      self.assertEqual(round(stratAnalyzer.getMaxDrawDown(), 2), 0.27)
      self.assertEqual(
          stratAnalyzer.getLongestDrawDownDuration(),
          datetime.timedelta(days=3),
      )
  
imports: import datetime
  from .None import common
  from .None import strategy_test
  from pyalgotrade.barfeed import yahoofeed
  from pyalgotrade.barfeed import membf
  from pyalgotrade.stratanalyzer import drawdown
  from pyalgotrade import broker
  from pyalgotrade import bar
label_desc: Use image node_id 8 for calling the AnalyzerTestCase obj's underlying member method code with example usage: obj.testManual_2DD() without return types