Example #1
0
 def test_fastcc_is_consistent_high_epsilon(self):
     self.assertFalse(fastcore.fastcc_is_consistent(
         self.model, 0.1, solver=self.solver))
Example #2
0
 def test_fastcc_is_consistent_on_consistent(self):
     self.model.remove_reaction('rxn_2')
     self.assertTrue(fastcore.fastcc_is_consistent(
         self.model, 0.001, solver=self.solver))
Example #3
0
 def test_fastcc_is_consistent(self):
     self.assertTrue(fastcore.fastcc_is_consistent(
         self.model, 0.0001, solver=self.solver))
Example #4
0
 def test_fastcc_is_consistent_on_inconsistent(self):
     self.assertFalse(fastcore.fastcc_is_consistent(
         self.model, 0.001, solver=self.solver))