#define BOOST_TEST_ALTERNATIVE_INIT_API
#include <boost/test/unit_test.hpp>
#include "ReservoirBenchmark.h"
#include "TMGas.h"
using namespace boost::unit_test;

void performMeasurement() {
    int iterations = 1000;
    ReservoirFactory *rFactory = new TMGas::Reservoir::Factory(16);
    reservoirBenchmark(rFactory,iterations);
    delete rFactory;
}


bool init_function() {
    for (int k=0; k<15; ++k) {
        framework::master_test_suite().add(BOOST_TEST_CASE(&performMeasurement),0,60);
    }
    framework::master_test_suite().p_name.value = "TMGasBenchmark";
    return true;
}

int main( int argc, char* argv[] )
{
    return ::boost::unit_test::unit_test_main( &init_function, argc, argv );
}

#define BOOST_TEST_ALTERNATIVE_INIT_API
#include <boost/test/unit_test.hpp>
#include "ReservoirBenchmark.h"
#include "TMGas.h"
using namespace boost::unit_test;

void performMeasurement() {
    int iterations = 100;
    ReservoirFactory *rFactory = new TMGas::Reservoir::Factory(16);
    reservoirBenchmark(rFactory,iterations);
    delete rFactory;
}


bool init_function() {
    for (int k=0; k<15; ++k) {
        framework::master_test_suite().add(BOOST_TEST_CASE(&performMeasurement),0,60);
    }
    framework::master_test_suite().p_name.value = "TMGasBenchmark";
    return true;
}

int main( int argc, char* argv[] )
{
    return ::boost::unit_test::unit_test_main( &init_function, argc, argv );
}

Reduce the size of the TMGas measurement by an order of magnitude.
Reduce the size of the TMGas measurement by an order of magnitude.
