def test_mod_232_disconnectedone_returnsFalse(self): self.assertFalse( hrm_bayesian.is_valid_model(self.mod_232_disconnectedone, 2, 6, 3, self.modorder_232))
def test_mod_232_missingparams_returnsFalse(self): self.assertFalse( hrm_bayesian.is_valid_model(self.mod_232_missingparams, 2, 6, 3, self.modorder_232))
def test_mod_232_valid_returnsTrue(self): self.assertTrue( hrm_bayesian.is_valid_model(self.mod_232_valid, 2, 6, 3, self.modorder_232))
def test_mod_222_identicalregimes_returnsFalse(self): self.assertFalse( hrm_bayesian.is_valid_model(self.mod_222_identicalregimes, 2, 4, 2, self.modorder_222))
def test_mod_222_disconnected_returnsFalse(self): self.assertFalse( hrm_bayesian.is_valid_model(self.mod_222_disconnected, 2, 4, 2, self.modorder_222))
def test_mod_242_partiallyconnected_returnsTrue(self): self.assertTrue( hrm_bayesian.is_valid_model(self.mod_242_validpartiallyconnected, 2, 8, 4, self.modorder_242))
def test_mod_322_unordered_returnsFalse(self): self.assertFalse( hrm_bayesian.is_valid_model(self.mod_322_unorderedregimes, 2, 6, 2, self.modorder_322))