Changeset f6f636f 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:
9c9ee5d
Parents:
8f8f1d1e
git-author:
Dzejrou <dzejrou@…> (2018-05-12 21:00:58)
git-committer:
Dzejrou <dzejrou@…> (2018-07-05 21:41:23)
Message:

cpp: added tuple tests

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

Legend:

Unmodified
Added
Removed
  • uspace/lib/cpp/Makefile

    r8f8f1d1e rf6f636f  
    6060        src/internal/test/vector.cpp \
    6161        src/internal/test/string.cpp \
    62         src/internal/test/test.cpp
     62        src/internal/test/test.cpp \
     63        src/internal/test/tuple.cpp
    6364
    6465include $(USPACE_PREFIX)/Makefile.common
  • uspace/lib/cpp/include/internal/test/tests.hpp

    r8f8f1d1e rf6f636f  
    151151            void test_operations();
    152152    };
     153
     154    class tuple_test: public test_suite
     155    {
     156        public:
     157            bool run(bool) override;
     158            const char* name() override;
     159
     160        private:
     161            void test_constructors_and_assignment();
     162            void test_creation();
     163            void test_tie_and_structured_bindings();
     164            void test_tuple_ops();
     165    };
    153166}
    154167
Note: See TracChangeset for help on using the changeset viewer.