libstdc++: testsuite: Enhance codecvt_unicode with tests for length()
commit59a7d38997ec4d8a606c97b00e1a8b697edd1316
authorDimitrij Mijoski <dmjpp@hotmail.com>
Wed, 18 Oct 2023 10:52:20 +0000 (18 12:52 +0200)
committerJonathan Wakely <jwakely@redhat.com>
Sat, 21 Oct 2023 10:54:00 +0000 (21 11:54 +0100)
tree4ccd62b03275b4c967389e97d99d979f2bb054dd
parent77209d43f1f38f153863a1845b64542cca79c2cb
libstdc++: testsuite: Enhance codecvt_unicode with tests for length()

We can test codecvt::length() with the same data that we test
codecvt::in(). For each call of in() we add another call to length().
Some additional small cosmentic changes are applied.

libstdc++-v3/ChangeLog:

* testsuite/22_locale/codecvt/codecvt_unicode.h: Test length()
libstdc++-v3/testsuite/22_locale/codecvt/codecvt_unicode.h