Lines Matching refs:BOOST_ASSERT
58 BOOST_ASSERT(num_paths_through_vertex(g, v[0]) == 3); in test_undirected()
59 BOOST_ASSERT(num_paths_through_vertex(g, v[1]) == 1); in test_undirected()
60 BOOST_ASSERT(num_paths_through_vertex(g, v[2]) == 1); in test_undirected()
61 BOOST_ASSERT(num_paths_through_vertex(g, v[3]) == 0); in test_undirected()
62 BOOST_ASSERT(num_paths_through_vertex(g, v[4]) == 1); in test_undirected()
64 BOOST_ASSERT(num_triangles_on_vertex(g, v[0]) == 1); in test_undirected()
65 BOOST_ASSERT(num_triangles_on_vertex(g, v[1]) == 1); in test_undirected()
66 BOOST_ASSERT(num_triangles_on_vertex(g, v[2]) == 1); in test_undirected()
67 BOOST_ASSERT(num_triangles_on_vertex(g, v[3]) == 0); in test_undirected()
68 BOOST_ASSERT(num_triangles_on_vertex(g, v[4]) == 0); in test_undirected()
72 BOOST_ASSERT(clustering_coefficient(g, v[1]) == 1); in test_undirected()
73 BOOST_ASSERT(clustering_coefficient(g, v[2]) == 1); in test_undirected()
74 BOOST_ASSERT(clustering_coefficient(g, v[3]) == 0); in test_undirected()
75 BOOST_ASSERT(clustering_coefficient(g, v[4]) == 0); in test_undirected()
81 BOOST_ASSERT(cm[v[1]] == 1); in test_undirected()
82 BOOST_ASSERT(cm[v[2]] == 1); in test_undirected()
83 BOOST_ASSERT(cm[v[3]] == 0); in test_undirected()
84 BOOST_ASSERT(cm[v[4]] == 0); in test_undirected()
91 BOOST_ASSERT((coef - (7.0f / 15.0f)) < 1e-7f); in test_undirected()