code: def test_create_continuous_future(self):
      cf_primary = self.asset_finder.create_continuous_future(
          "FO", 0, "calendar", None
      )
  
      self.assertEqual(cf_primary.root_symbol, "FO")
      self.assertEqual(cf_primary.offset, 0)
      self.assertEqual(cf_primary.roll_style, "calendar")
      self.assertEqual(
          cf_primary.start_date, Timestamp("2015-01-05", tz="UTC")
      )
      self.assertEqual(
          cf_primary.end_date, Timestamp("2022-09-19", tz="UTC")
      )
  
      retrieved_primary = self.asset_finder.retrieve_asset(
          cf_primary.sid
      )
  
      self.assertEqual(retrieved_primary, cf_primary)
  
      cf_secondary = self.asset_finder.create_continuous_future(
          "FO", 1, "calendar", None
      )
  
      self.assertEqual(cf_secondary.root_symbol, "FO")
      self.assertEqual(cf_secondary.offset, 1)
      self.assertEqual(cf_secondary.roll_style, "calendar")
      self.assertEqual(
          cf_primary.start_date, Timestamp("2015-01-05", tz="UTC")
      )
      self.assertEqual(
          cf_primary.end_date, Timestamp("2022-09-19", tz="UTC")
      )
  
      retrieved = self.asset_finder.retrieve_asset(cf_secondary.sid)
  
      self.assertEqual(retrieved, cf_secondary)
  
      self.assertNotEqual(cf_primary, cf_secondary)
  
      # Assert that the proper exception is raised if the given root symbol
      # does not exist.
      with self.assertRaises(SymbolNotFound):
          self.asset_finder.create_continuous_future(
              "NO", 0, "calendar", None
          )
  
imports: from collections import deque
  from functools import partial
  from textwrap import dedent
  from numpy import arange, array, int64, full, repeat, tile
  from numpy.testing import assert_almost_equal
  import pandas
  from pandas import Timestamp, DataFrame
  from zipline.assets.continuous_futures import OrderedContracts, delivery_predicate
  from zipline.assets.roll_finder import ROLL_DAYS_FOR_CURRENT_CONTRACT, VolumeRollFinder
  from zipline.data.minute_bars import FUTURES_MINUTES_PER_DAY
  from zipline.errors import SymbolNotFound
  import zipline.testing.fixtures
label_desc: Use image node_id 5 for calling the ContinuousFuturesTestCase obj's underlying member method code with example usage: obj.test_create_continuous_future() without return types