test_MAPL_decomposeDim_even Subroutine

public subroutine test_MAPL_decomposeDim_even()

Arguments

None

Calls

proc~~test_mapl_decomposedim_even~~CallsGraph proc~test_mapl_decomposedim_even test_MAPL_decomposeDim_even assertequal assertequal proc~test_mapl_decomposedim_even->assertequal interface~mapl_decomposedim MAPL_DecomposeDim proc~test_mapl_decomposedim_even->interface~mapl_decomposedim

Source Code

   subroutine test_MAPL_decomposeDim_even()
      integer :: NDEs
      integer :: dim_world
      integer, allocatable :: dim(:)

      NDEs = 4
      allocate(dim(0:NDEs-1))
      dim_world = 12
      call MAPL_DecomposeDim(dim_world, dim, NDEs)

      @assertEqual(12/4, dim)

   end subroutine test_MAPL_decomposeDim_even