Check if two integers (8 bits) are equal.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(tester_t), | intent(inout) | :: | this |
The tester. |
||
integer(kind=int8), | intent(in) | :: | i1 |
Value to compare. |
||
integer(kind=int8), | intent(in) | :: | i2 |
Value to compare. |
subroutine assert_equal_i8(this, i1, i2) class(tester_t), intent(inout) :: this !< The tester. integer(int8), intent(in) :: i1 !< Value to compare. integer(int8), intent(in) :: i2 !< Value to compare. this% n_tests = this% n_tests + 1 if (i1 .ne. i2) then this% n_errors = this% n_errors + 1 end if end subroutine assert_equal_i8