FTAssertEqual Interface

public interface FTAssertEqual

Module Procedures

private subroutine assertEqualTwoIntegers(expectedValue, actualValue, msg)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: expectedValue
integer, intent(in) :: actualValue
character(len=*), optional :: msg

private subroutine assertEqualTwoIntegerArrays1D(expectedValue, actualValue)

Arguments

Type IntentOptional Attributes Name
integer, intent(in), DIMENSION(:) :: expectedValue
integer, intent(in), DIMENSION(:) :: actualValue

private subroutine assertEqualTwoIntegerArrays2D(expectedValue, actualValue)

Arguments

Type IntentOptional Attributes Name
integer, intent(in), DIMENSION(:,:) :: expectedValue
integer, intent(in), DIMENSION(:,:) :: actualValue

private subroutine assertWithinToleranceTwoReal(expectedValue, actualValue, tol, msg)

Arguments

Type IntentOptional Attributes Name
real, intent(in) :: expectedValue
real, intent(in) :: actualValue
real, intent(in) :: tol
character(len=*), optional :: msg

private subroutine assertWithinToleranceTwoRealArrays1D(expectedValue, actualValue, tol, msg)

Arguments

Type IntentOptional Attributes Name
real, intent(in), DIMENSION(:) :: expectedValue
real, intent(in), DIMENSION(:) :: actualValue
real, intent(in) :: tol
character(len=*), optional :: msg

private subroutine assertWithinToleranceTwoRealArrays2D(expectedValue, actualValue, tol)

Arguments

Type IntentOptional Attributes Name
real, intent(in), DIMENSION(:,:) :: expectedValue
real, intent(in), DIMENSION(:,:) :: actualValue
real, intent(in) :: tol

private subroutine assertWithinToleranceTwoDouble(expectedValue, actualValue, tol, msg)

Arguments

Type IntentOptional Attributes Name
double precision, intent(in) :: expectedValue
double precision, intent(in) :: actualValue
double precision, intent(in) :: tol
character(len=*), optional :: msg

private subroutine assertWithinToleranceTwoDoubleArrays1D(expectedValue, actualValue, tol, msg)

Arguments

Type IntentOptional Attributes Name
double precision, intent(in), DIMENSION(:) :: expectedValue
double precision, intent(in), DIMENSION(:) :: actualValue
double precision, intent(in) :: tol
character(len=*), optional :: msg

private subroutine assertWithinToleranceTwoDoubleArrays2D(expectedValue, actualValue, tol)

Arguments

Type IntentOptional Attributes Name
double precision, intent(in), DIMENSION(:,:) :: expectedValue
double precision, intent(in), DIMENSION(:,:) :: actualValue
double precision, intent(in) :: tol

public subroutine assertWithinToleranceTwoQuad(expectedValue, actualValue, tol, msg)

Arguments

Type IntentOptional Attributes Name
real(kind=SELECTED_REAL_KIND(QUAD_DIGITS)), intent(in) :: expectedValue
real(kind=SELECTED_REAL_KIND(QUAD_DIGITS)), intent(in) :: actualValue
real(kind=SELECTED_REAL_KIND(QUAD_DIGITS)), intent(in) :: tol
character(len=*), optional :: msg

private subroutine assertEqualTwoLogicals(expectedValue, actualValue, msg)

Arguments

Type IntentOptional Attributes Name
logical, intent(in) :: expectedValue
logical, intent(in) :: actualValue
character(len=*), optional :: msg

private subroutine assertEqualString(expectedValue, actualValue, msg)

Arguments

Type IntentOptional Attributes Name
character(len=*) :: expectedValue
character(len=*) :: actualValue
character(len=*), optional :: msg