}
{
wrapper result_[] = {w1, w2, w3};
- wrapper rresult[] = {w3, w2, w1};
+ wrapper rresult_[] = {w3, w2, w1};
efl::eina::array<wrapper> array;
ck_assert(array.size() == 3);
ck_assert(std::equal(array.begin(), array.end(), result_));
- ck_assert(std::equal(array.rbegin(), array.rend(), rresult));
+ ck_assert(std::equal(array.rbegin(), array.rend(), rresult_));
}
}
END_TEST
array.pop_back();
wrapper result_[] = {w1, w2};
- wrapper rresult[] = {w2, w1};
+ wrapper rresult_[] = {w2, w1};
ck_assert(array.size() == 2);
ck_assert(std::equal(array.begin(), array.end(), result_));
- ck_assert(std::equal(array.rbegin(), array.rend(), rresult));
+ ck_assert(std::equal(array.rbegin(), array.rend(), rresult_));
}
}
END_TEST
ck_assert(std::equal(list.rbegin(), list.rend(), rresult));
}
{
- wrapper result[] = {w1, w2, w3};
- wrapper rresult[] = {w3, w2, w1};
-
+ wrapper result_[] = {w1, w2, w3};
+ wrapper rresult_[] = {w3, w2, w1};
+
efl::eina::list<wrapper> list;
list.push_back(w1);
list.push_back(w2);
list.push_back(w3);
ck_assert(list.size() == 3);
- ck_assert(std::equal(list.begin(), list.end(), result));
- ck_assert(std::equal(list.rbegin(), list.rend(), rresult));
+ ck_assert(std::equal(list.begin(), list.end(), result_));
+ ck_assert(std::equal(list.rbegin(), list.rend(), rresult_));
}
}
END_TEST
ck_assert(std::equal(list.rbegin(), list.rend(), rresult));
}
{
- wrapper result[] = {w1, w2};
- wrapper rresult[] = {w2, w1};
+ wrapper result_[] = {w1, w2};
+ wrapper rresult_[] = {w2, w1};
efl::eina::list<wrapper> list;
list.pop_back();
ck_assert(list.size() == 2);
- ck_assert(std::equal(list.begin(), list.end(), result));
- ck_assert(std::equal(list.rbegin(), list.rend(), rresult));
+ ck_assert(std::equal(list.begin(), list.end(), result_));
+ ck_assert(std::equal(list.rbegin(), list.rend(), rresult_));
}
}
END_TEST
ck_assert(std::equal(list.rbegin(), list.rend(), rresult));
}
{
- wrapper result[] = {w2, w1};
- wrapper rresult[] = {w1, w2};
+ wrapper result_[] = {w2, w1};
+ wrapper rresult_[] = {w1, w2};
efl::eina::list<wrapper> list;
list.pop_front();
ck_assert(list.size() == 2);
- ck_assert(std::equal(list.begin(), list.end(), result));
- ck_assert(std::equal(list.rbegin(), list.rend(), rresult));
+ ck_assert(std::equal(list.begin(), list.end(), result_));
+ ck_assert(std::equal(list.rbegin(), list.rend(), rresult_));
}
}
END_TEST