class_docstr: Contains unit tests for the TransportNNDistanceComputer class. 
docstr: Shortens distance type. 
docstr_tok: ["Shortens","distance","type","."]
code: def _get_dist_type_abbr(cls, dist_type):
      """Shortens distance type."""
      if dist_type == "lp-norm-by-max":
          return "lnbm"
      else:
          return dist_type
  
imports: import numpy
  from .None import otmann
  from .unittest_neural_network import generate_cnn_architectures, generate_mlp_architectures
  from ..utils.ancillary_utils import get_list_of_floats_as_str
  from ..utils.base_test_class import BaseTestClass, execute_tests
label_desc: Use image node_id 9 for calling the TransportNNDistanceComputerTestCase obj's underlying member method code with example usage: obj._get_dist_type_abbr(cls, dist_type) and returns: str, dist_type