code: def test_mask(self):
      from sahi.annotation import Mask
  
      coco_segmentation = [[1, 1, 325, 125, 250, 200, 5, 200]]
      full_shape_height, full_shape_width = 500, 600
      full_shape = [full_shape_height, full_shape_width]
  
      mask = Mask.from_coco_segmentation(
          segmentation=coco_segmentation, full_shape=full_shape
      )
  
      self.assertEqual(mask.full_shape_height, full_shape_height)
      self.assertEqual(mask.full_shape_width, full_shape_width)
      self.assertEqual(mask.bool_mask[11, 2], True)
  
imports: import unittest
label_desc: Use image node_id 3 for calling the TestAnnotation obj's underlying member method code with example usage: obj.test_mask() without return types