def test_getsinIm_2Darray(): assert_allclose(helpers.getsinIm([[60, 10], [60, 10]]), [[0.96076892283052284, 0.33257924500670238], [0.96076892283052284, 0.33257924500670238]])
def test_getsinIm_scalar(): assert_allclose(helpers.getsinIm(60), 0.96076892283052284) assert_allclose(helpers.getsinIm(10), 0.33257924500670238) assert type(helpers.getsinIm(60)) != np.ndarray