UniSet 2.45.1
Класс tests.test_type_system.TestCheckTypesTypeErrors

Открытые члены

 test_string_in_arithmetic_raises_type_error (self)
 test_string_assigned_to_int_raises_type_error (self)

Подробное описание

Tests for type errors on incompatible types.

Методы

◆ test_string_assigned_to_int_raises_type_error()

tests.test_type_system.TestCheckTypesTypeErrors.test_string_assigned_to_int_raises_type_error ( self)
intVar := stringVar should raise STTypeError.

◆ test_string_in_arithmetic_raises_type_error()

tests.test_type_system.TestCheckTypesTypeErrors.test_string_in_arithmetic_raises_type_error ( self)
STRING + INT should raise STTypeError.