|
UniSet 2.45.1
|
Открытые члены | |
| test_bool_in_addition_gets_coerced (self) | |
| test_bool_literal_in_multiplication_gets_coerced (self) | |
Tests for BOOL-to-INT coercion in arithmetic contexts.
| tests.test_type_system.TestCheckTypesBoolCoercion.test_bool_in_addition_gets_coerced | ( | self | ) |
x + boolVar should wrap boolVar in IRTypeCoercion(BOOL->INT).
| tests.test_type_system.TestCheckTypesBoolCoercion.test_bool_literal_in_multiplication_gets_coerced | ( | self | ) |
5 * TRUE should wrap TRUE in IRTypeCoercion(BOOL->INT).