HW2: A validator added and small changes
This commit is contained in:
@@ -2,6 +2,10 @@
|
||||
* \file
|
||||
* \brief PDS HW2 tests
|
||||
*
|
||||
* To run these test execute:
|
||||
* make tests
|
||||
* mpirun -np <N> ./out/tests
|
||||
*
|
||||
* \author
|
||||
* Christos Choutouridis AEM:8997
|
||||
* <cchoutou@ece.auth.gr>
|
||||
@@ -28,8 +32,8 @@ protected:
|
||||
int rank, size;
|
||||
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
|
||||
MPI_Comm_size(MPI_COMM_WORLD, &size);
|
||||
ts_mpi.rank_ = rank;
|
||||
ts_mpi.size_ = size;
|
||||
ts_mpi.rank(rank);
|
||||
ts_mpi.size(size);
|
||||
}
|
||||
|
||||
static void TearDownTestSuite() {
|
||||
@@ -39,8 +43,8 @@ protected:
|
||||
|
||||
|
||||
/*
|
||||
* To run thiese test execute:
|
||||
* mpirun -np <N> ./bit/tests
|
||||
* MPI: SysTest (acceptance)
|
||||
* Each process executes distBubbletonic for uin8_t [16]
|
||||
*/
|
||||
TEST_F(TMPIdistSort, distBubbletonic_test1) {
|
||||
// Create and fill vector
|
||||
@@ -80,8 +84,8 @@ TEST_F(TMPIdistSort, distBubbletonic_test1) {
|
||||
}
|
||||
|
||||
/*
|
||||
* To run thiese test execute:
|
||||
* mpirun -np <N> ./bit/tests
|
||||
* MPI: SysTest (acceptance)
|
||||
* Each process executes distBubbletonic for uin32_t [1 << 16]
|
||||
*/
|
||||
TEST_F(TMPIdistSort, distBubbletonic_test2) {
|
||||
// Create and fill vector
|
||||
@@ -122,8 +126,8 @@ TEST_F(TMPIdistSort, distBubbletonic_test2) {
|
||||
|
||||
|
||||
/*
|
||||
* To run thiese test execute:
|
||||
* mpirun -np <N> ./bit/tests
|
||||
* MPI: SysTest (acceptance)
|
||||
* Each process executes distBitonic for uin8_t [16]
|
||||
*/
|
||||
TEST_F(TMPIdistSort, distBitonic_test1) {
|
||||
// Create and fill vector
|
||||
@@ -163,8 +167,8 @@ TEST_F(TMPIdistSort, distBitonic_test1) {
|
||||
}
|
||||
|
||||
/*
|
||||
* To run thiese test execute:
|
||||
* mpirun -np <N> ./bit/tests
|
||||
* MPI: SysTest (acceptance)
|
||||
* Each process executes distBitonic for uin32_t [1 << 16]
|
||||
*/
|
||||
TEST_F(TMPIdistSort, distBitonic_test2) {
|
||||
// Create and fill vector
|
||||
|
||||
Reference in New Issue
Block a user