Utopia  2
Framework for studying models of complex & adaptive systems.
Classes | Namespaces | Macros | Functions | Variables
test_revision.cc File Reference
#include <random>
#include <type_traits>
#include <boost/test/unit_test.hpp>
#include <boost/graph/random.hpp>
#include "../Opinionet.hh"
#include "../modes.hh"
#include "../revision.hh"
#include "../utils.hh"
Include dependency graph for test_revision.cc:

Classes

struct  Utopia::Models::Opinionet::Revision::TestNetworkD
 
struct  Utopia::Models::Opinionet::Revision::TestNetworkU
 

Namespaces

 Utopia
 
 Utopia::Models
 
 Utopia::Models::Opinionet
 
 Utopia::Models::Opinionet::Revision
 

Macros

#define BOOST_TEST_MODULE   revision test
 

Functions

 Utopia::Models::Opinionet::Revision::BOOST_FIXTURE_TEST_CASE (test_opinion_update_HK_u, TestNetworkU)
 
 Utopia::Models::Opinionet::Revision::BOOST_FIXTURE_TEST_CASE (test_opinion_update_HK_d, TestNetworkD, *boost::unit_test::tolerance(0.0001))
 
 Utopia::Models::Opinionet::Revision::BOOST_FIXTURE_TEST_CASE (test_rewiring_u, TestNetworkU)
 
 Utopia::Models::Opinionet::Revision::BOOST_FIXTURE_TEST_CASE (test_rewiring_d, TestNetworkD)
 
 Utopia::Models::Opinionet::Revision::BOOST_FIXTURE_TEST_CASE (test_opinion_update_D_c, TestNetworkD, *boost::unit_test::tolerance(0.05))
 
 Utopia::Models::Opinionet::Revision::BOOST_FIXTURE_TEST_CASE (test_opinion_update_D_d, TestNetworkU, *boost::unit_test::tolerance(0.05))
 

Variables

std::mt19937 Utopia::Models::Opinionet::Revision::rng {}
 – Type definitions ----------------------------------------------------— More...
 
std::uniform_real_distribution< double > Utopia::Models::Opinionet::Revision::prob_distr
 

Macro Definition Documentation

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   revision test