|
UniSet 2.45.1
|
Открытые члены | |
| test_int_assigned_to_real_no_coercion (self) | |
| test_int_assigned_to_int_no_coercion (self) | |
| test_bool_in_logical_context_no_coercion (self) | |
Tests for cases where no coercion should be inserted.
| tests.test_type_system.TestCheckTypesNoCoercion.test_bool_in_logical_context_no_coercion | ( | self | ) |
BOOL AND BOOL -- logical context, no coercion needed.
| tests.test_type_system.TestCheckTypesNoCoercion.test_int_assigned_to_int_no_coercion | ( | self | ) |
intVar := intExpr -- same type, no coercion.
| tests.test_type_system.TestCheckTypesNoCoercion.test_int_assigned_to_real_no_coercion | ( | self | ) |
realVar := intExpr -- JS handles INT->REAL automatically.