code: def test3LineBreak(self):
      barFeed = self.__getFeed()
      bars = barFeed[LineBreakTestCase.Instrument]
      lineBreak = linebreak.LineBreak(bars, 3)
      barFeed.loadAll()
  
      self.assertEqual(len(lineBreak), 33)
      self.assertEqual(bars[0].getLow(), lineBreak[0].getLow())
      self.assertEqual(bars[0].getHigh(), lineBreak[0].getHigh())
      self.assertEqual(
          bars[0].getClose() > bars[0].getOpen(), lineBreak[0].isWhite()
      )
      self.assertEqual(lineBreak[32].getLow(), 10.76)
      self.assertEqual(lineBreak[32].getHigh(), 10.92)
      self.assertEqual(lineBreak[32].isWhite(), False)
      self.assertEqual(lineBreak[32].isBlack(), True)
  
file_path: pyalgotrade/testcases/technical_linebreak_test.py
imports: import datetime
  from .None import common
  from pyalgotrade.technical import linebreak
  from pyalgotrade.barfeed import yahoofeed
  from pyalgotrade import dataseries
  from pyalgotrade import bar
  from pyalgotrade.dataseries import bards
label_desc: Use image node_id 3 for calling the LineBreakTestCase obj's underlying member method code with example usage: obj.test3LineBreak() without return types