code: def test_mask_encode_decode(samples_source):
      mask_filepath = (
          samples_source / "voc/SegmentationObject/2007_000063.png"
      )
      mask = VocMaskFile(mask_filepath)
  
      erle = mask.to_erles(0, 0)
      mask_decoded = erle.to_mask(0, 0)
  
      mask_expected = mask.to_mask(0, 0)
      np.testing.assert_equal(mask_decoded.data, mask_expected.data)
  
file_path: icevision/tests/core/test_mask.py
imports: import pytest
  from icevision.all import *
label_desc: Use image node_id 9 for calling a global function with example usage: test_mask_encode_decode(samples_source) without return types