chore: init

This commit is contained in:
2025-09-19 15:36:37 +02:00
commit 9d707a253a
2190 changed files with 17598 additions and 0 deletions

View File

@@ -0,0 +1,72 @@
#include <stdlib.h>
#include <iostream>
#include <string>
// add
#include "VTReductionAddIntI.h"
#include "VTReductionAddIntII.h"
// generic
#include "VTReductionGenericI.h"
#include "VTReductionGenericII.h"
#include "VTReductionGenericLongII.h"
using std::string;
using std::cout;
using std::endl;
/*----------------------------------------------------------------------*\
|* Declaration *|
\*---------------------------------------------------------------------*/
static void add();
static void generic();
/*----------------------------------------------------------------------*\
|* Implementation *|
\*---------------------------------------------------------------------*/
int mainTest()
{
// activer ci-dessous seulement le TP voulu (pas tous)
add();
//generic();
return EXIT_SUCCESS;
}
/*--------------------------------------*\
|* private *|
\*-------------------------------------*/
/**
* activer ci-dessous la version souhaiter
*/
void add()
{
VTReductionAddIntI test1;
VTReductionAddIntII test2;
test1.run();
//test2.run();
}
/**
* activer ci-dessous la version souhaiter
*/
void generic()
{
VTReductionGenericI test1;
VTReductionGenericII test2;
VTReductionGenericLongII test3;
test1.run();
// test2.run();
// test3.run();
}
/*----------------------------------------------------------------------*\
|* End *|
\*---------------------------------------------------------------------*/