Пример #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],
Пример #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])
Пример #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])
Пример #4
0
def test_op_add(): binary_ufunc_check(op.add)
def test_op_sub(): binary_ufunc_check(op.sub)
Пример #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])
Пример #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)
Пример #7
0
def test_op_mul(): binary_ufunc_check(op.mul)
def test_op_add(): binary_ufunc_check(op.add)
Пример #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])
Пример #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])
Пример #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])
Пример #11
0
def test_logaddexp(): binary_ufunc_check('logaddexp')
def test_logaddexp2(): binary_ufunc_check('logaddexp2')
Пример #12
0
def test_add(): binary_ufunc_check('add')
def test_logaddexp(): binary_ufunc_check('logaddexp')