mpi_partition_tests.cpp File Reference
#include "catch.hpp"
#include "mango.hpp"

Go to the source code of this file.

Functions

 TEST_CASE ("MPI_Partition: Verify that calling getters before initialization causes exceptions","[mpi_partition]")
 
 TEST_CASE ("MPI_Partition.init(): Verify that all the properties make sense when N_worker_groups=1.","[mpi_partition]")
 
 TEST_CASE ("MPI_Partition.init(): Verify that all the properties make sense when N_worker_groups=N_procs_world or more, or when N_worker_groups <= 0.","[mpi_partition]")
 
 TEST_CASE ("MPI_Partition.init(): Verify that for any choice of N_worker_groups, parameters are within the expected ranges.","[mpi_partition]")
 
 TEST_CASE ("MPI_Partition.set_custom(): Verify that parameters are correct for the case in which every proc is a group leader.","[mpi_partition]")
 
 TEST_CASE ("MPI_Partition.set_custom(): Verify that parameters are correct for the case in which there is a single worker group.","[mpi_partition]")
 
 TEST_CASE ("MPI_Partition.set_custom(): Verify that for any choice of N_worker_groups, if we generate communicators using MPI_Partition.init() and supply them as inputs to set_custom(), the results of set_custom() are identical to init().","[mpi_partition]")
 

Function Documentation

◆ TEST_CASE() [1/7]

TEST_CASE ( )

Definition at line 52 of file mpi_partition_tests.cpp.

◆ TEST_CASE() [2/7]

TEST_CASE ( "MPI_Partition.init(): Verify that all the properties make sense when  N_worker_groups = N_procs_world or more,
or when N_worker_groups<=0."  ,
""  [mpi_partition] 
)

Definition at line 76 of file mpi_partition_tests.cpp.

◆ TEST_CASE() [3/7]

TEST_CASE ( "MPI_Partition.init(): Verify that for any choice of  N_worker_groups,
parameters are within the expected ranges."  ,
""  [mpi_partition] 
)

Definition at line 116 of file mpi_partition_tests.cpp.

◆ TEST_CASE() [4/7]

TEST_CASE ( "MPI_Partition.set_custom(): Verify that for any choice of  N_worker_groups,
if we generate communicators using MPI_Partition.  init) and supply them as inputs to set_custom(,
the results of set_custom() are identical to init()."  ,
""  [mpi_partition] 
)

Definition at line 226 of file mpi_partition_tests.cpp.

◆ TEST_CASE() [5/7]

TEST_CASE ( "MPI_Partition.set_custom(): Verify that parameters are correct for the case in which every proc is a group leader."  ,
""  [mpi_partition] 
)

Definition at line 169 of file mpi_partition_tests.cpp.

◆ TEST_CASE() [6/7]

TEST_CASE ( "MPI_Partition.set_custom(): Verify that parameters are correct for the case in which there is a single worker group."  ,
""  [mpi_partition] 
)

Definition at line 193 of file mpi_partition_tests.cpp.

◆ TEST_CASE() [7/7]

TEST_CASE ( "MPI_Partition: Verify that calling getters before initialization causes exceptions"  ,
""  [mpi_partition] 
)

Definition at line 33 of file mpi_partition_tests.cpp.