code: def test_hom_ref(self):
      c_hom_ref = Call([0, 0])
      self.assertEqual(c_hom_ref.alleles, [0, 0])
      self.assertEqual(c_hom_ref.ploidy, 2)
      self.assertFalse(c_hom_ref.phased)
      self.assertFalse(c_hom_ref.is_haploid())
      self.assertTrue(c_hom_ref.is_diploid())
      self.assertEqual(c_hom_ref.n_alt_alleles(), 0)
      self.assertTrue(c_hom_ref.one_hot_alleles(2) == [2, 0])
      self.assertTrue(c_hom_ref.is_hom_ref())
      self.assertFalse(c_hom_ref.is_het())
      self.assertFalse(c_hom_ref.is_hom_var())
      self.assertFalse(c_hom_ref.is_non_ref())
      self.assertFalse(c_hom_ref.is_het_non_ref())
      self.assertFalse(c_hom_ref.is_het_ref())
      self.assertTrue(c_hom_ref.unphased_diploid_gt_index() == 0)
  
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 1 for calling the Tests obj's underlying member method code with example usage: obj.test_hom_ref() without return types