Exemplo n.º 1
0
def test_op_pow(): binary_ufunc_check(op.pow, lims_A=[0.7, 2.0])

# Misc tests

def test_transpose(): combo_check('transpose', [0],
Exemplo n.º 2
0
def test_op_mod_neg(): binary_ufunc_check(op.mod, lims_B=[-0.3, -2.0])
def test_op_div(): binary_ufunc_check(op.div, lims_B=[0.5, 2.0])
Exemplo n.º 3
0
def test_op_div(): binary_ufunc_check(op.div, lims_B=[0.5, 2.0])
def test_op_pow(): binary_ufunc_check(op.pow, lims_A=[0.7, 2.0])
Exemplo n.º 4
0
def test_op_add(): binary_ufunc_check(op.add)
def test_op_sub(): binary_ufunc_check(op.sub)
Exemplo n.º 5
0
def test_op_sub(): binary_ufunc_check(op.sub)
def test_op_mod(): binary_ufunc_check(op.mod, lims_B=[0.3, 2.0])
Exemplo n.º 6
0
def test_mod_neg(): binary_ufunc_check('mod',    lims_B=[-0.3, -2.0])

def test_op_mul(): binary_ufunc_check(op.mul)
Exemplo n.º 7
0
def test_op_mul(): binary_ufunc_check(op.mul)
def test_op_add(): binary_ufunc_check(op.add)
Exemplo n.º 8
0
def test_mod(): binary_ufunc_check('mod',    lims_B=[0.8, 2.1])
def test_mod_neg(): binary_ufunc_check('mod',    lims_B=[-0.3, -2.0])
Exemplo n.º 9
0
def test_remainder(): binary_ufunc_check('remainder', lims_A=[-0.9, 0.9], lims_B=[0.7, 1.9])
def test_mod(): binary_ufunc_check('mod',    lims_B=[0.8, 2.1])
Exemplo n.º 10
0
def test_logaddexp2(): binary_ufunc_check('logaddexp2')
def test_remainder(): binary_ufunc_check('remainder', lims_A=[-0.9, 0.9], lims_B=[0.7, 1.9])
Exemplo n.º 11
0
def test_logaddexp(): binary_ufunc_check('logaddexp')
def test_logaddexp2(): binary_ufunc_check('logaddexp2')
Exemplo n.º 12
0
def test_add(): binary_ufunc_check('add')
def test_logaddexp(): binary_ufunc_check('logaddexp')