Changeset 5608106c in mainline


Ignore:
Timestamp:
2018-07-05T21:41:23Z (6 years ago)
Author:
Dzejrou <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
21d97e8
Parents:
78449b15
git-author:
Dzejrou <dzejrou@…> (2018-05-14 17:03:06)
git-committer:
Dzejrou <dzejrou@…> (2018-07-05 21:41:23)
Message:

cpp: added map and multimap tests

Location:
uspace/lib/cpp
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/cpp/Makefile

    r78449b15 r5608106c  
    5858        src/internal/test/bitset.cpp \
    5959        src/internal/test/deque.cpp \
    60         src/internal/test/vector.cpp \
     60        src/internal/test/map.cpp \
    6161        src/internal/test/string.cpp \
    6262        src/internal/test/test.cpp \
    63         src/internal/test/tuple.cpp
     63        src/internal/test/tuple.cpp \
     64        src/internal/test/vector.cpp
    6465
    6566include $(USPACE_PREFIX)/Makefile.common
  • uspace/lib/cpp/include/internal/test/tests.hpp

    r78449b15 r5608106c  
    164164            void test_tuple_ops();
    165165    };
     166
     167    class map_test: public test_suite
     168    {
     169        public:
     170            bool run(bool) override;
     171            const char* name() override;
     172
     173        private:
     174            void test_constructors_and_assignment();
     175            void test_histogram();
     176            void test_emplace_insert();
     177            void test_bounds_and_ranges();
     178            void test_multi();
     179            void test_reverse_iterators();
     180            void test_multi_bounds_and_ranges();
     181    };
    166182}
    167183
Note: See TracChangeset for help on using the changeset viewer.