Ignore:
Timestamp:
2018-07-05T21:41:20Z (7 years ago)
Author:
Dzejrou <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9475faf
Parents:
c06328da
git-author:
Dzejrou <dzejrou@…> (2018-04-07 15:01:43)
git-committer:
Dzejrou <dzejrou@…> (2018-07-05 21:41:20)
Message:

cpp: improved array and vector tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/cpp/src/internal/test/array.cpp

    rc06328da rd93f01a6  
    101101        // TODO: test bound checking of at when implemented
    102102
     103        std::array<int, 3> arr4{1, 2, 3};
     104        auto [a, b, c] = arr4;
     105        test_eq("structured binding part 1", a, 1);
     106        test_eq("structured binding part 2", b, 2);
     107        test_eq("structured binding part 3", c, 3);
     108
    103109        return end();
    104110    }
Note: See TracChangeset for help on using the changeset viewer.