'Test the reciprocal trig functions provided in calc.py
which are: sec, csc, cot, arcsec, arccsc, arccot'

def test_reciprocal_trig_functions(self):

    angles = ['-pi/4', 'pi/6', 'pi/5', '5*pi/4', '9*pi/4', '1    +    j']
    sec_values = [1.414, 1.155, 1.236, (-1.414), 1.414, (0.498 + 0.591j)]
    csc_values = [(-1.414), 2, 1.701, (-1.414), 1.414, (0.622 - 0.304j)]
    cot_values = [(-1), 1.732, 1.376, 1, 1, (0.218 - 0.868j)]
    self.assert_function_values('sec', angles, sec_values)
    self.assert_function_values('csc', angles, csc_values)
    self.assert_function_values('cot', angles, cot_values)
    arcsec_inputs = ['1.1547', '1.2361', '2', '-2', '-1.4142', '0.4983+0.5911*j']
    arcsec_angles = [0.524, 0.628, 1.047, 2.094, 2.356, (1 + 1j)]
    self.assert_function_values('arcsec', arcsec_inputs, arcsec_angles)
    arccsc_inputs = ['-1.1547', '-1.4142', '2', '1.7013', '1.1547', '0.6215-0.3039*j']
    arccsc_angles = [(-1.047), (-0.785), 0.524, 0.628, 1.047, (1 + 1j)]
    self.assert_function_values('arccsc', arccsc_inputs, arccsc_angles)
    arccot_inputs = ['-0.5774', '-1', '1.7321', '1.3764', '0.5774', '(0.2176-0.868*j)']
    arccot_angles = arccsc_angles
    self.assert_function_values('arccot', arccot_inputs, arccot_angles)
