def test_f_in_cycle(self): self.assertTrue(zl.is_id_in_cycle(self._decomposer, 'f'))
def test_group_40_not_in_cyle(self): self.assertFalse(zl.is_id_in_cycle(self._decomposer, '40'))
def test_x_not_in_cycle(self): self.assertFalse(zl.is_id_in_cycle(self._decomposer, 'x'))
def test_group_30_in_cyle(self): self.assertTrue(zl.is_id_in_cycle(self._decomposer, '30'))
def test_no_cycle(self): self.assertFalse(zl.is_id_in_cycle(self._decomposer, 'm')) self.assertFalse([], zl.is_id_in_cycle(self._decomposer, 'r')) self.assertFalse([], zl.is_id_in_cycle(self._decomposer, '10')) self.assertFalse([], zl.is_id_in_cycle(self._decomposer, 'a'))