code: def test_synthetic_data(
      self, synthetic_data, expected_feature_balance_measures_gender
  ):
      feat_measures = (
          FeatureBalanceMeasures(
              cols_of_interest=[SYNTHETIC_DATA_GENDER],
              label_col=SYNTHETIC_DATA_LABEL,
              pos_label=1,
          )
          .measures(dataset=synthetic_data)
          .query("ClassA == 'Male' and ClassB == 'Female'")
          .iloc[0]
      )
      assert_series_and_dict_equal(
          feat_measures, expected_feature_balance_measures_gender
      )
  
file_path: responsible-ai-toolbox/responsibleai/tests/databalanceanalysis/test_feature_balance_measures.py
imports: import pandas
  import pytest
  from responsibleai.databalanceanalysis import FeatureBalanceMeasures
  from ..common_utils import assert_series_and_dict_equal
  from .conftest import SYNTHETIC_DATA_GENDER, SYNTHETIC_DATA_LABEL
label_desc: Use image node_id 1 for calling the TestFeatureBalanceMeasures obj's underlying member method code with example usage: obj.test_synthetic_data(synthetic_data, expected_feature_balance_measures_gender) without return types