Ejemplo n.º 1
0
// write the content of sort
TEST(ex2, test2)
{
	std::vector<int> values({4,8,10,6,1});
	std::vector<int> result({1,4,6,8,10});
	sortFunction(values.begin(),values.end());

	EXPECT_EQ(values,result);
}
Ejemplo n.º 2
0
 bool operator()(int o1, int o2) const {
     return sortFunction(o1, o2, type_ );
 }