Skip to content

Commit

Permalink
adding SciKitModel Test #68
Browse files Browse the repository at this point in the history
  • Loading branch information
Nadja-R committed Dec 19, 2019
1 parent 3d14af2 commit 1f509f2
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions pyDMPC/tests/test_modeling.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,21 +171,11 @@ def test_SciMod(self):
self.assertIsInstance(self.model.paths, Modeling.Paths)

self.load = self.model.load_mod()
self.inputs = self.model.write_inputs()

#print('SciMod Class Test successful')

def test_LoadMod(self):

i = Init.sys_id[-2]
self.predict = self.model.predict()

self.model = Modeling.SciMod(i)
self.assertAlmostEqual(1, self.predict[0][0], 5)

self.load = self.model.load_mod()

#print('SciMod LoadMod Function Test successful')

#def test_WriteInputs(self):
#print('SciMod Class Test successful')

#@unittest.skipUnless('Linear' in Init.model_type, "no Linear model used")
class TestLinModClass (unittest.TestCase):
Expand Down

0 comments on commit 1f509f2

Please sign in to comment.