Home
last modified time | relevance | path

Searched refs:cfacet (Results 1 – 4 of 4) sorted by relevance

/reactos/sdk/lib/3rdparty/stlport/test/unit/
H A Dmoney_facets_test.cpp542 money_base::pattern cp = cfacet.pos_format(); in moneypunct_by_name()
549 CPPUNIT_CHECK( cfacet_byname.frac_digits() == cfacet.frac_digits() ); in moneypunct_by_name()
551 CPPUNIT_CHECK( cfacet_byname.decimal_point() == cfacet.decimal_point() ); in moneypunct_by_name()
552 CPPUNIT_CHECK( cfacet_byname.grouping() == cfacet.grouping() ); in moneypunct_by_name()
555 CPPUNIT_CHECK( cfacet_byname.positive_sign() == cfacet.positive_sign() ); in moneypunct_by_name()
556 CPPUNIT_CHECK( cfacet_byname.negative_sign() == cfacet.negative_sign() ); in moneypunct_by_name()
571 money_base::pattern cp = cfacet.pos_format(); in moneypunct_by_name()
578 CPPUNIT_CHECK( cfacet_byname.frac_digits() == cfacet.frac_digits() ); in moneypunct_by_name()
581 CPPUNIT_CHECK( cfacet_byname.grouping() == cfacet.grouping() ); in moneypunct_by_name()
584 CPPUNIT_CHECK( cfacet_byname.positive_sign() == cfacet.positive_sign() ); in moneypunct_by_name()
[all …]
H A Dctype_facets_test.cpp442 ctype<char> const& cfacet = use_facet<ctype<char> >(locale::classic()); in ctype_by_name() local
445 CPPUNIT_CHECK(cfacet_byname.is(ctype_base::space, c) == cfacet.is(ctype_base::space, c)); in ctype_by_name()
446 if (cfacet_byname.is(ctype_base::print, c) != cfacet.is(ctype_base::print, c)) in ctype_by_name()
450 CPPUNIT_CHECK(cfacet_byname.is(ctype_base::cntrl, c) == cfacet.is(ctype_base::cntrl, c)); in ctype_by_name()
451 CPPUNIT_CHECK(cfacet_byname.is(ctype_base::upper, c) == cfacet.is(ctype_base::upper, c)); in ctype_by_name()
452 CPPUNIT_CHECK(cfacet_byname.is(ctype_base::lower, c) == cfacet.is(ctype_base::lower, c)); in ctype_by_name()
453 CPPUNIT_CHECK(cfacet_byname.is(ctype_base::alpha, c) == cfacet.is(ctype_base::alpha, c)); in ctype_by_name()
454 CPPUNIT_CHECK(cfacet_byname.is(ctype_base::digit, c) == cfacet.is(ctype_base::digit, c)); in ctype_by_name()
455 CPPUNIT_CHECK(cfacet_byname.is(ctype_base::punct, c) == cfacet.is(ctype_base::punct, c)); in ctype_by_name()
457 CPPUNIT_CHECK(cfacet_byname.is(ctype_base::alnum, c) == cfacet.is(ctype_base::alnum, c)); in ctype_by_name()
[all …]
H A Dnum_facets_test.cpp240 numpunct<char> const& cfacet = use_facet<numpunct<char> >(locale::classic()); in numpunct_by_name() local
242 CPPUNIT_CHECK( cfacet_byname.decimal_point() == cfacet.decimal_point() ); in numpunct_by_name()
243 CPPUNIT_CHECK( cfacet_byname.grouping() == cfacet.grouping() ); in numpunct_by_name()
244 if (!cfacet.grouping().empty()) in numpunct_by_name()
245 CPPUNIT_CHECK( cfacet_byname.thousands_sep() == cfacet.thousands_sep() ); in numpunct_by_name()
247 CPPUNIT_CHECK( cfacet_byname.truename() == cfacet.truename() ); in numpunct_by_name()
248 CPPUNIT_CHECK( cfacet_byname.falsename() == cfacet.falsename() ); in numpunct_by_name()
H A Dcollate_facets_test.cpp214 collate<char> const& cfacet = use_facet<collate<char> >(locale::classic()); in collate_by_name() local
222 cfacet.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 1) ); in collate_by_name()
224 cfacet.compare(str1, str1 + size1, str2, str2 + size2) ); in collate_by_name()
228 cfacet.compare(str1, str1 + size1 - 2, str2, str2 + size2 - 1) ); in collate_by_name()
230 cfacet.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 2) ); in collate_by_name()