test_state2: added test_simulation.

This commit is contained in:
Steinar Foss
2019-09-13 12:06:04 +02:00
parent 97728e9fda
commit 3ecb446c20
3 changed files with 8 additions and 9 deletions

View File

@@ -62,14 +62,6 @@ SATNUM
self.assertFalse('NONO' in smry) # hasKeyword
def test_simulation(self):
sim = self.state.simulation()
self.assertFalse(sim.hasThresholdPressure())
self.assertFalse(sim.useCPR())
self.assertTrue(sim.hasDISGAS())
self.assertTrue(sim.hasVAPOIL())
def test_tables(self):
tables = self.state.table
self.assertTrue('SGOF' in tables)