Lines Matching full:diff
63 vector<int> diff;
64 set_symmetric_difference(v1.begin(), v1.end(), v2.begin(), v2.end(), back_inserter(diff));
65 CPPUNIT_ASSERT( diff.size() == 14 );
68 CPPUNIT_ASSERT( diff[i] == int_res[i] );
77 string diff;
79 back_inserter(diff), less<char>());
80 CPPUNIT_ASSERT( diff.size() == 22 );
83 CPPUNIT_ASSERT( diff[i] == char_res[i] );
115 vector<int> diff;
116 set_difference(v1.begin(), v1.end(), v2.begin(), v2.end(), back_inserter(diff));
117 CPPUNIT_ASSERT( diff.size() == 7 );
119 CPPUNIT_ASSERT( diff[i] == i );
128 string diff;
129 set_difference(word1, word1 + ::strlen(word1), word2, word2 + ::strlen(word2), back_inserter(diff), less<char>());
130 CPPUNIT_ASSERT( diff.size() == 11 );
132 CPPUNIT_ASSERT( diff[i] == ('A' + i) );