Correction of unittest case.

pull/493/head
KmolYuan 2019-07-08 16:37:12 +08:00
parent 0975723a3f
commit 5fe420bdff
1 changed files with 3 additions and 3 deletions

View File

@ -107,9 +107,9 @@ class CoreTest(TestCase):
result_flag = sys.solve()
self.assertEqual(result_flag, ResultFlag.OKAY)
x, y = sys.params(p2.params)
self.assertAlmostEqual(-38, x, 4)
self.assertAlmostEqual(-7.8, y, 4)
x, y = sys.params(p8.params)
self.assertAlmostEqual(18.93036, x, 4)
self.assertAlmostEqual(13.63778, y, 4)
def test_nut_cracker(self):
"""Nut cracker example."""