unit_tests Derived Type

type, public :: unit_tests


Inherits

type~~unit_tests~~InheritsGraph type~unit_tests unit_tests type~unit_test unit_test type~unit_tests->type~unit_test test

Components

Type Visibility Attributes Name Initial
type(unit_test), public, allocatable :: test(:)
integer, private :: n = 0

Type-Bound Procedures

procedure, public :: initialize

  • private subroutine initialize(this, n)

    Author
    Seyed Ali Ghasemi
    License
    BSD 3-Clause

    Arguments

    Type IntentOptional Attributes Name
    class(unit_tests), intent(inout) :: this
    integer, intent(in) :: n

procedure, public :: summary

  • private subroutine summary(this, required_score, verbose, stop_fail)

    Author
    Seyed Ali Ghasemi
    License
    BSD 3-Clause

    Arguments

    Type IntentOptional Attributes Name
    class(unit_tests), intent(inout) :: this
    real, intent(in) :: required_score
    integer, intent(in), optional :: verbose
    logical, intent(in), optional :: stop_fail

Source Code

   type unit_tests
      type(unit_test), allocatable :: test(:)
      integer, private :: n = 0
   contains
      procedure :: initialize
      procedure :: summary
   end type unit_tests