code: def test_get_indices(self, mapper):
      x = mapper.get_indices("B")
      assert x[0] == 0
  
      # binary + continuous first (3 variables), C comes before 0 in the
      # schema, hence the first index is 4
      x = mapper.get_indices("C")
      assert x == [3, 4, 5, 6, 7]
  
imports: from collections import OrderedDict
  import pytest
  from causalnex.structure import StructureModel
  from causalnex.structure.categorical_variable_mapper import VariableFeatureMapper, validate_schema
label_desc: Use image node_id 1 for calling the TestVariableFeatureMapper obj's underlying member method code with example usage: obj.test_get_indices(mapper) without return types