test_equal_type Subroutine

public subroutine test_equal_type()

Arguments

None

Calls

proc~~test_equal_type~2~~CallsGraph proc~test_equal_type~2 test_equal_type assertfalse assertfalse proc~test_equal_type~2->assertfalse asserttrue asserttrue proc~test_equal_type~2->asserttrue

Source Code

   subroutine test_equal_type()
      type (Attribute) :: a
      type (Attribute) :: b

      a = Attribute(1)
      b = Attribute(1.)

      @assertTrue(a == a)
      @assertFalse(a /= a)
      @assertFalse(a == b)
      @assertTrue(a /= b)

   end subroutine test_equal_type