IntSubject¶
IntSubject.new¶
Create an “IntSubject” struct.
Method: IntSubject.new
PARAMETERS ¶
- value¶:
(optional [
int
]) the value to perform asserts against may be None.- meta¶:
(
ExpectMeta
) the meta data about the call chain.
- RETURNS ¶
IntSubject.equals¶
IntSubject.equals(other)
Assert that the subject is equal to the given value.
Method: IntSubject.equals
PARAMETERS ¶
- other¶:
([
int
]) value the subject must be equal to.
IntSubject.is_greater_than¶
IntSubject.is_greater_than(other)
Asserts that the subject is greater than the given value.
Method: IntSubject.is_greater_than
PARAMETERS ¶
- other¶:
([
int
]) value the subject must be greater than.
IntSubject.not_equals¶
IntSubject.not_equals(unexpected)
Assert that the int is not equal to unexpected
.
Method: IntSubject.not_equals
PARAMETERS ¶
- unexpected¶:
([
int
]) the value actual cannot equal.