code: def testOneEvent(self):
      feed = yahoofeed.Feed()
      feed.addBarsFromCSV(
          "orcl",
          common.get_data_file_path("orcl-2000-yahoofinance.csv"),
      )
  
      predicate = Predicate([datetime.date(2000, 1, 11)])
      eventProfiler = eventprofiler.Profiler(predicate, 5, 5)
      eventProfiler.run(feed, True)
      self.assertEqual(eventProfiler.getResults().getEventCount(), 1)
      self.assertEqual(eventProfiler.getResults().getValues(0)[0], 1.0)
      self.assertEqual(
          round(eventProfiler.getResults().getValues(5)[0], 5),
          round(1.016745541, 5),
      )
  
file_path: pyalgotrade/testcases/eventprofiler_test.py
imports: import datetime
  from .None import common
  from pyalgotrade import eventprofiler
  from pyalgotrade.barfeed import yahoofeed
label_desc: Use image node_id 3 for calling the EventProfilerTestCase obj's underlying member method code with example usage: obj.testOneEvent() without return types