12e5b6d6dSopenharmony_ci// © 2016 and later: Unicode, Inc. and others.
22e5b6d6dSopenharmony_ci// License & terms of use: http://www.unicode.org/copyright.html
32e5b6d6dSopenharmony_ci/********************************************************************
42e5b6d6dSopenharmony_ci * COPYRIGHT:
52e5b6d6dSopenharmony_ci * Copyright (c) 1997-2014, International Business Machines Corporation and
62e5b6d6dSopenharmony_ci * others. All Rights Reserved.
72e5b6d6dSopenharmony_ci ********************************************************************/
82e5b6d6dSopenharmony_ci/********************************************************************************
92e5b6d6dSopenharmony_ci*
102e5b6d6dSopenharmony_ci* File CNUMTST.H
112e5b6d6dSopenharmony_ci*
122e5b6d6dSopenharmony_ci* Modification History:
132e5b6d6dSopenharmony_ci*        Name                     Description
142e5b6d6dSopenharmony_ci*     Madhu Katragadda              Creation
152e5b6d6dSopenharmony_ci*********************************************************************************
162e5b6d6dSopenharmony_ci*/
172e5b6d6dSopenharmony_ci/* C API TEST FOR NUMBER FORMAT */
182e5b6d6dSopenharmony_ci#ifndef _CNUMFRMTST
192e5b6d6dSopenharmony_ci#define _CNUMFRMTST
202e5b6d6dSopenharmony_ci
212e5b6d6dSopenharmony_ci#include "unicode/utypes.h"
222e5b6d6dSopenharmony_ci
232e5b6d6dSopenharmony_ci#if !UCONFIG_NO_FORMATTING
242e5b6d6dSopenharmony_ci
252e5b6d6dSopenharmony_ci#include "cintltst.h"
262e5b6d6dSopenharmony_ci
272e5b6d6dSopenharmony_ci
282e5b6d6dSopenharmony_ci/**
292e5b6d6dSopenharmony_ci * The function used to test the Number format API
302e5b6d6dSopenharmony_ci **/
312e5b6d6dSopenharmony_cistatic void TestNumberFormat(void);
322e5b6d6dSopenharmony_ci
332e5b6d6dSopenharmony_ci/**
342e5b6d6dSopenharmony_ci * The function used to test parsing of numbers in UNUM_SPELLOUT style
352e5b6d6dSopenharmony_ci **/
362e5b6d6dSopenharmony_cistatic void TestSpelloutNumberParse(void);
372e5b6d6dSopenharmony_ci
382e5b6d6dSopenharmony_ci/**
392e5b6d6dSopenharmony_ci * The function used to test significant digits in the Number format API
402e5b6d6dSopenharmony_ci **/
412e5b6d6dSopenharmony_cistatic void TestSignificantDigits(void);
422e5b6d6dSopenharmony_ci
432e5b6d6dSopenharmony_ci/**
442e5b6d6dSopenharmony_ci * The function used to test Number format API rounding with significant digits
452e5b6d6dSopenharmony_ci **/
462e5b6d6dSopenharmony_cistatic void TestSigDigRounding(void);
472e5b6d6dSopenharmony_ci
482e5b6d6dSopenharmony_ci/**
492e5b6d6dSopenharmony_ci * The function used to test the Number format API with padding
502e5b6d6dSopenharmony_ci **/
512e5b6d6dSopenharmony_cistatic void TestNumberFormatPadding(void);
522e5b6d6dSopenharmony_ci
532e5b6d6dSopenharmony_ci/**
542e5b6d6dSopenharmony_ci * The function used to test the Number format API with padding
552e5b6d6dSopenharmony_ci **/
562e5b6d6dSopenharmony_cistatic void TestInt64Format(void);
572e5b6d6dSopenharmony_ci
582e5b6d6dSopenharmony_cistatic void TestNonExistentCurrency(void);
592e5b6d6dSopenharmony_ci
602e5b6d6dSopenharmony_ci/**
612e5b6d6dSopenharmony_ci * Test RBNF access through unumfmt APIs.
622e5b6d6dSopenharmony_ci **/
632e5b6d6dSopenharmony_cistatic void TestRBNFFormat(void);
642e5b6d6dSopenharmony_ci
652e5b6d6dSopenharmony_ci/**
662e5b6d6dSopenharmony_ci * Test some Currency stuff
672e5b6d6dSopenharmony_ci **/
682e5b6d6dSopenharmony_cistatic void TestCurrencyRegression(void);
692e5b6d6dSopenharmony_ci
702e5b6d6dSopenharmony_ci/**
712e5b6d6dSopenharmony_ci * Test strict parsing of "0"
722e5b6d6dSopenharmony_ci **/
732e5b6d6dSopenharmony_cistatic void TestParseZero(void);
742e5b6d6dSopenharmony_ci
752e5b6d6dSopenharmony_ci/**
762e5b6d6dSopenharmony_ci * Test cloning formatter with RBNF
772e5b6d6dSopenharmony_ci **/
782e5b6d6dSopenharmony_cistatic void TestCloneWithRBNF(void);
792e5b6d6dSopenharmony_ci
802e5b6d6dSopenharmony_ci/**
812e5b6d6dSopenharmony_ci * Test the Currency Usage Implementations
822e5b6d6dSopenharmony_ci **/
832e5b6d6dSopenharmony_cistatic void TestCurrencyUsage(void);
842e5b6d6dSopenharmony_ci#endif /* #if !UCONFIG_NO_FORMATTING */
852e5b6d6dSopenharmony_ci
862e5b6d6dSopenharmony_ci#endif
87