bolt/bootstrap/cxx/deps/icu/source/test/intltest/tsdcfmsy.h
Sam Vervaeck 285f33e93c Add 'bootstrap/cxx/' from commit '7c1a929e9a3d3abb1e2113f531588e059ad5be8c'
git-subtree-dir: bootstrap/cxx
git-subtree-mainline: b732e418cb
git-subtree-split: 7c1a929e9a
2024-01-15 14:04:51 +01:00

41 lines
1.2 KiB
C++

// © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/********************************************************************
* COPYRIGHT:
* Copyright (c) 1997-2013, International Business Machines Corporation and
* others. All Rights Reserved.
********************************************************************/
#ifndef _INTLTESTDECIMALFORMATSYMBOLS
#define _INTLTESTDECIMALFORMATSYMBOLS
#include "unicode/utypes.h"
#if !UCONFIG_NO_FORMATTING
#include "unicode/unistr.h"
#include "unicode/dcfmtsym.h"
#include "intltest.h"
/**
* Tests for DecimalFormatSymbols
**/
class IntlTestDecimalFormatSymbols: public IntlTest {
void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL ) override;
private:
/**
* Test the API of DecimalFormatSymbols; primarily a simple get/set set.
*/
void testSymbols(/*char *par*/);
void testLastResortData();
void testDigitSymbols();
void testNumberingSystem();
/** helper functions**/
void Verify(double value, const UnicodeString& pattern,
const DecimalFormatSymbols &sym, const UnicodeString& expected);
};
#endif /* #if !UCONFIG_NO_FORMATTING */
#endif