code: def test_math_properties_metric(method_str, feat_dim, num_bins):
      """Trying to test the four properties on the same set of histograms"""
  
      # checking for bad examples
      assume(not num_bins > feat_dim)
  
      h1 = make_random_histogram(feat_dim, num_bins)
      h2 = make_random_histogram(feat_dim, num_bins)
      h3 = make_random_histogram(feat_dim, num_bins)
  
      method = getattr(histogram, method_str)
  
      check_indiscernibility(method, h1)
      check_symmetry(method, h1, h2)
      check_nonnegativity(method, h1, h2)
      check_triangle_inequality(method, h1, h2, h3)
  
file_path: medpy/tests/metric_/histogram.py
imports: import numpy
  from hypothesis import given, strategies, assume, Verbosity, note, event
  from hypothesis import settings
  from medpy.metric import histogram
label_desc: Use image node_id 3 for calling a global function with example usage: test_math_properties_metric(method_str, feat_dim, num_bins) without return types