diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2014-07-25 14:50:55 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2014-08-05 00:02:26 +0200 |
commit | e1fed5dc3156f32f22d78dc57fa5ab8fcedaa804 (patch) | |
tree | 6bc45492ed29acc5255fc85d2b31720500a414bd /src/gui | |
parent | 85011b82f08e0be09012d0e766f5550e262ec594 (diff) |
tst_QSet: check which of several equal elements is inserted
Add a test that checks that QSet keeps the first of the elements
that have equal value. This is documented, but inconsistent with
values in a QHash, which keeps the last element with equal key.
Document this as a test. That way, we'll be informed when the
behavior changes (e.g. by a port to std::unordered_set).
Change-Id: I4ca1718bb86599b925b3ccd13b0856917cd4ce67
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'src/gui')
0 files changed, 0 insertions, 0 deletions