20 #include <ept/tests/test-utils.h> 25 #include <tagcoll/utils/set.h> 32 struct ept_debtags_tag_shar
40 ept_debtags_tag_shar()
41 : odsd(
"./"), odid(
"./"), odusd(
"./"), oduid(
"./") {}
44 TESTGRP( ept_debtags_tag );
66 ensure_equals( x, 3 );
72 Facet f = voc.facetByName(
"works-with" );
73 Tag t = voc.tagByName(
"works-with::people" );
76 ensure( t.
facet() == f );
77 ensure( tagcoll::utils::set_contains(f.
tags(), t) );
83 Facet f = voc.facetByName(
"works-with" );
84 Tag t = voc.tagByName(
"works-with::people" );
93 Tag t = voc.tagByName(
"works-with::people" );
96 ensure( tagcoll::utils::set_contains(t.
facet().
tags(), t) );
Definition: packagerecord.test.h:22