Debian Codegraph @

js/src/tests/test262/intl402/NumberFormat/test-option-roundingPriority.js

raw
1 // Copyright 2021 the V8 project authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3 /*---
4 esid: sec-intl.numberformat
5 description: Tests that the option roundingPriority is processed correctly.
6 features: [Intl.NumberFormat-v3]
7 includes: [testIntl.js]
8 ---*/
9
10 testOption(
11 Intl.NumberFormat,
12 "roundingPriority",
13 "string",
14 ["auto", "morePrecision", "lessPrecision"],
15 "auto"
16 );
17
18 reportCompare(0, 0);