code: def test_zeroploid(self):
      c_zeroploid = Call([])
      self.assertEqual(c_zeroploid.alleles, [])
      self.assertEqual(c_zeroploid.ploidy, 0)
      self.assertFalse(c_zeroploid.phased)
      self.assertFalse(c_zeroploid.is_haploid())
      self.assertFalse(c_zeroploid.is_diploid())
      self.assertEqual(c_zeroploid.n_alt_alleles(), 0)
      self.assertTrue(c_zeroploid.one_hot_alleles(3) == [0, 0, 0])
      self.assertFalse(c_zeroploid.is_hom_ref())
      self.assertFalse(c_zeroploid.is_het())
      self.assertFalse(c_zeroploid.is_hom_var())
      self.assertFalse(c_zeroploid.is_non_ref())
      self.assertFalse(c_zeroploid.is_het_non_ref())
      self.assertFalse(c_zeroploid.is_het_ref())
  
      self.assertRaisesRegex(
          NotImplementedError,
          "Calls with greater than 2 alleles are not supported.",
          Call,
          [1, 1, 1, 1],
      )
  
file_path: hail/hail/python/test/hail/genetics/test_call.py
imports: import unittest
  from hail.genetics import *
  from ..helpers import *
label_desc: Use image node_id 5 for calling the Tests obj's underlying member method code with example usage: obj.test_zeroploid() without return types