Beispiel #1
0
class TestGeneratorModel(test_factory()):
    fe_type = types.Generator(
        gen_func=None,
        yield_type=types.int32,
        arg_types=[types.int64, types.float32],
        state_types=[types.intp, types.intp[::1]],
        has_finalizer=False,
    )
Beispiel #2
0
class Test2DArrayOfComplex128(test_factory()):
    fe_type = types.Array(types.complex128, 2, "C")
Beispiel #3
0
class TestTupleEmpty(test_factory()):
    fe_type = types.Tuple([])
Beispiel #4
0
class TestTupleInt32Float32(test_factory()):
    fe_type = types.Tuple([types.int32, types.float32])
Beispiel #5
0
class TestUniTupleEmpty(test_factory()):
    fe_type = types.UniTuple(types.int32, 0)
Beispiel #6
0
class TestBool(test_factory()):
    fe_type = types.boolean
Beispiel #7
0
class TestUniTupleOf2xInt32(test_factory()):
    fe_type = types.UniTuple(types.int32, 2)
Beispiel #8
0
class TestPyObject(test_factory()):
    fe_type = types.pyobject
Beispiel #9
0
class TestDoubleComplex(test_factory()):
    fe_type = types.complex128
Beispiel #10
0
class TestComplex(test_factory()):
    fe_type = types.complex64
Beispiel #11
0
class TestDouble(test_factory()):
    fe_type = types.float64
Beispiel #12
0
class TestFloat(test_factory()):
    fe_type = types.float32
Beispiel #13
0
class TestUInt64(test_factory()):
    fe_type = types.uint64
Beispiel #14
0
class TestInt64(test_factory()):
    fe_type = types.int64
Beispiel #15
0
class Test0DArrayOfInt32(test_factory()):
    fe_type = types.Array(types.int32, 0, "C")
Beispiel #16
0
class TestPointerOfInt32(test_factory()):
    fe_type = types.CPointer(types.int32)
Beispiel #17
0
class Test1DArrayOfInt32(test_factory()):
    fe_type = types.Array(types.int32, 1, 'C')