Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/js/src/tests/non262/Intl/Collator/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 851 B image not shown  

Quelle  big5han-gb2312han.js   Sprache: JAVA

 
// |reftest| skip-if(!this.hasOwnProperty("Intl"))
/* Any copyright is dedicated to the Public Domain.
 * http://creativecommons.org/publicdomain/zero/1.0/ */


let scrambled = ['𠙶''𠇲''㓙''㑧''假''凷'];

// Root or pinyin
const fallback = ["假""凷""𠙶""㑧""㓙""𠇲"];

scrambled.sort(new Intl.Collator("zh-u-co-big5han").compare);
assertEqArray(scrambled, fallback);

scrambled.sort(new Intl.Collator("zh-u-co-gb2312").compare);
assertEqArray(scrambled, fallback);

assertEq(new Intl.Collator("zh-u-co-big5han").resolvedOptions().collation, "default");
assertEq(new Intl.Collator("zh-u-co-gb2312").resolvedOptions().collation, "default");

assertEq(Intl.supportedValuesOf("collation").includes("big5han"), false);
assertEq(Intl.supportedValuesOf("collation").includes("gb2312"), false);

reportCompare(0, 0, 'ok');

Messung V0.5
C=90 H=93 G=91

¤ Dauer der Verarbeitung: 0.11 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.