def test_numpy_rsphere_euler(): pytest.importorskip("numpy") assert pm.rsphere_euler([42, 0], [82, 0], 44, 100) == approx([6386606.829131, 6363111.70923164])
def test_rsphere_euler(): assert pm.rsphere_euler(42, 82, 44, 100) == approx(6386606.829131)