↑ ACMF | ||||
Урок - Типы Данных / Data Types | ||||
← Предыдущий урок Урок - Configuration
|
Следующий урок → Урок - Test Case Methods
|
AnyType - can be any value.
CallbackType - callback function.
CounterType - a positive integer that is greater than or equal to zero.
- bad: price - it's real not integer.
- bad: temperature - it's can be negative.
- be careful: age - can be unknown.
- correct: amount of elements - always zero or positive value.
TheSameClassType - returns an object of the same class.
ThisType - returns a reference to the current object.
↑ ACMF | ||||
Урок - Типы Данных / Data Types | ||||
← Предыдущий урок Урок - Configuration
|
Следующий урок → Урок - Test Case Methods
|