1 # Test data for tst-nomeric, which checks it's implementation in glibc
2 # Copyright (C) 2003 Free Software Foundation, Inc.
3 # This file is part of the GNU C Library.
4 # Contributed by Petter Reinholdtsen <pere@hungry.com>, 2003
5 # Based on code by Jochen Hein <jochen.hein@delphi.central.de>, 1997.
8 # The GNU C Library is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU Lesser General Public
10 # License as published by the Free Software Foundation; either
11 # version 2.1 of the License, or (at your option) any later version.
13 # The GNU C Library is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 # Lesser General Public License for more details.
18 # You should have received a copy of the GNU Lesser General Public
19 # License along with the GNU C Library; if not, write to the Free
20 # Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
23 # The format of this file is pretty simple: Each line contains a test
24 # for strfmon. Fields are separated by TABs. Lines that start with a
25 # '#' are comments and are ignored.
28 # #1 locale which is to be checked
29 # #2 format string which is fed into snprintf
30 # #3 double value that is used for formatting
31 # #4 the expected result (may contain trailing spaces!)
33 # First the implementation without any locale-dependent data
44 # Locale-dependent test.
46 nn_NO.ISO-8859-1 %'g 123.45 123,45
47 nn_NO.ISO-8859-1 %'g -123.45 -123,45