| 53 | } |
| 54 | |
| 55 | void TestAlgorithm::testUnite2String() |
| 56 | { |
| 57 | const QSet<QString> a{"a", "bc", "12", "an"}; |
| 58 | const QSet<QString> b{"-1", "24", "bc", "foo", "bar", "0"}; |
| 59 | const auto sets = {a, b}; |
| 60 | const auto setUnion = Algorithm::unite(sets.begin(), sets.end()); |
| 61 | QCOMPARE(setUnion, a + b); |
| 62 | } |
| 63 | |
| 64 | void TestAlgorithm::testUnite5Int() |
| 65 | { |