code: def testAggregationTypeLessThan(self):
      self.assertLess(
          metric_types.AggregationType(macro_average=True),
          metric_types.AggregationType(micro_average=True),
      )
      self.assertLess(
          metric_types.AggregationType(weighted_macro_average=True),
          metric_types.AggregationType(macro_average=True),
      )
  
file_path: model-analysis/tensorflow_model_analysis/metrics/metric_types_test.py
imports: import tensorflow
  from tensorflow_model_analysis.metrics import metric_types
label_desc: Use image node_id 7 for calling the MetricTypesTest obj's underlying member method code with example usage: obj.testAggregationTypeLessThan() without return types