code: def test_check_and_clean_coverage():
      """Tests _check_and_clean_coverage"""
  
      # Tests floating point value ----
      coverage = 0.9
      coverage = _check_and_clean_coverage(coverage=coverage)
      coverage = [round(value, 2) for value in coverage]
      assert isinstance(coverage, list)
      assert coverage == [0.05, 0.95]
  
      # Tests List values (sorted) ----
      coverage_expected = [0.1, 0.9]
      coverage = _check_and_clean_coverage(coverage=coverage_expected)
      assert isinstance(coverage, list)
      assert coverage == coverage_expected
  
      # Tests List values (unsorted) ----
      coverage = [0.9, 0.1]
      coverage = _check_and_clean_coverage(coverage=coverage)
      assert isinstance(coverage, list)
      assert coverage == coverage_expected
  
      # Tests List values (incorrect length 1) ----
      with pytest.raises(ValueError) as errmsg:
          coverage = [0.1]
          coverage = _check_and_clean_coverage(coverage=coverage)
      exceptionmsg = errmsg.value.args[0]
      assert (
          "When coverage is a list, it must be of length 2 corresponding to"
          in exceptionmsg
      )
  
      # Tests List values (incorrect length 2) ----
      with pytest.raises(ValueError) as errmsg:
          coverage = [0.1, 0.5, 0.9]
          coverage = _check_and_clean_coverage(coverage=coverage)
      exceptionmsg = errmsg.value.args[0]
      assert (
          "When coverage is a list, it must be of length 2 corresponding to"
          in exceptionmsg
      )
  
      # Tests incorrect types ----
      with pytest.raises(TypeError) as errmsg:
          coverage = None
          coverage = _check_and_clean_coverage(coverage=coverage)
      exceptionmsg = errmsg.value.args[0]
      assert (
          "'coverage' must be of type float or a List of floats of length 2."
          in exceptionmsg
      )
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_check_and_clean_coverage() without return types