From bca4aedcb49b08d0c0d6a7a10ffd3c375cc4c2c1 Mon Sep 17 00:00:00 2001 From: Peter Pinch Date: Sun, 4 Feb 2018 22:04:50 -0500 Subject: [PATCH] restoring tests to demonstrate correct library is loaded --- common/lib/calc/calc/tests/test_calc.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/lib/calc/calc/tests/test_calc.py b/common/lib/calc/calc/tests/test_calc.py index d158ce66b0..2519bfc171 100644 --- a/common/lib/calc/calc/tests/test_calc.py +++ b/common/lib/calc/calc/tests/test_calc.py @@ -190,13 +190,13 @@ class EvaluatorTest(unittest.TestCase): self.assert_function_values('tan', angles, tan_values) # Include those where the real part is between -pi/2 and pi/2 - arcsin_inputs = ['-0.707', '0', '0.5', '0.588', '1.298 + 0.635*j'] - arcsin_angles = [-0.785, 0, 0.524, 0.629, 1 + 1j] + arcsin_inputs = ['-0.707', '0', '0.5', '0.588', '1.298 + 0.635*j', '-1.1', '1.1'] + arcsin_angles = [-0.785, 0, 0.524, 0.629, 1 + 1j, -1.570 + 0.443j, 1.570 - 0.443j] self.assert_function_values('arcsin', arcsin_inputs, arcsin_angles) # Include those where the real part is between 0 and pi - arccos_inputs = ['1', '0.866', '0.809', '0.834-0.989*j'] - arccos_angles = [0, 0.524, 0.628, 1 + 1j] + arccos_inputs = ['1', '0.866', '0.809', '0.834-0.989*j', '-1.1', '1.1'] + arccos_angles = [0, 0.524, 0.628, 1 + 1j, 3.141 - 0.443j, 0.443j] self.assert_function_values('arccos', arccos_inputs, arccos_angles) # Has the same range as arcsin