|
UniSet 2.45.1
|
Открытые члены | |
| test_real_assigned_to_int_gets_coerced (self) | |
| test_real_expression_assigned_to_dint_gets_coerced (self) | |
Tests for REAL-to-INT coercion on assignment.
| tests.test_type_system.TestCheckTypesRealToIntCoercion.test_real_assigned_to_int_gets_coerced | ( | self | ) |
intVar := realExpr should wrap realExpr in IRTypeCoercion(REAL->INT).
| tests.test_type_system.TestCheckTypesRealToIntCoercion.test_real_expression_assigned_to_dint_gets_coerced | ( | self | ) |
dintVar := 1.5 + 2.5 should coerce the REAL result to DINT.