Newer
Older
/**
* DESCRIPTION OF THE CLASS
*
* @author David Vojtek
* @date 2018
*/
#define BOOST_TEST_NO_MAIN
#include <boost/test/unit_test.hpp>
#include "../LearningMethods/ParticleSwarm.h"
/**
* Boost testing suite for testing ParticleSwarm.h
*/
double test_particle_function(double *weights){
}
BOOST_AUTO_TEST_SUITE(Particle_test)
BOOST_AUTO_TEST_CASE(Particle_construction_test){
double domain_bound[5] = {1,2,3,4,5};
double (*F)(double*) = &test_particle_function;
Particle particle(1, &domain_bound[0], F);
// particle.get_coordinate();
}
BOOST_AUTO_TEST_SUITE_END()