1234567 |
- Describe(unique_sort)
- {
- It(test1){Assert::That(uniqueSort({1, 5, 8, 2, 3, 4, 4, 4, 10}), Equals(std::vector<int>({1, 2, 3, 4, 5, 8, 10})));}
- It(test2){Assert::That(uniqueSort({1, 2, 5, 4, 7, 7, 7}), Equals(std::vector<int>({1, 2, 4, 5, 7})));}
- It(test3){Assert::That(uniqueSort({7, 6, 5, 4, 3, 2, 1, 0, 1}), Equals(std::vector<int>({0, 1, 2, 3, 4, 5, 6, 7})));}
- It(test4){Assert::That(uniqueSort({3, 6, 5, 4, 3, 27, 1, 100, 1}), Equals(std::vector<int>({1, 3, 4, 5, 6, 27, 100})));}
- };
|