ComIn 0.5.1
ICON Community Interface
Loading...
Searching...
No Matches
test_datatypes Namespace Reference

Detailed Description

Creates variables with different datatypes and checks the corresponding buffer

Authors
12/2024 :: ICON Community Interface comin.nosp@m.@ico.nosp@m.n-mod.nosp@m.el.o.nosp@m.rg

SPDX-License-Identifier: BSD-3-Clause

Please see the file LICENSE in the root of the source tree for this code. Where software is supplied by third parties, it is indicated in the headers of the routines.

Function Documentation

◆ check()

check ( )

Definition at line 52 of file test_datatypes.py.

◆ simple_python_constructor()

simple_python_constructor ( )

Definition at line 40 of file test_datatypes.py.

Constant Documentation

◆ comin_datatypes

dict comin_datatypes
Initial value:
1= {
2 "dp": comin.COMIN_VAR_DATATYPE_DOUBLE,
3 "sp": comin.COMIN_VAR_DATATYPE_FLOAT,
4 "i": comin.COMIN_VAR_DATATYPE_INT,
5}

Definition at line 19 of file test_datatypes.py.

◆ datatype

datatype

Definition at line 33 of file test_datatypes.py.

◆ descr

descr = ("test_var_" + name, 1)

Definition at line 31 of file test_datatypes.py.

◆ numpy_datatypes

dict numpy_datatypes
Initial value:
1= {
2 "dp": np.double,
3 "sp": np.single,
4 "i": np.intc,
5}

Definition at line 24 of file test_datatypes.py.

◆ var_handles

dict var_handles = {}

Definition at line 36 of file test_datatypes.py.