# Test data for unit conversions
#  Copyright © 1991-2023 Unicode, Inc.
#  For terms of use, see http://www.unicode.org/copyright.html
#  SPDX-License-Identifier: Unicode-DFS-2016
#  CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/)
#
# CLDR person name formatting test data for: is
#
# Test lines have the following structure:
#
# enum ; <type> ; <value>(', ' <value)
#   For all the elements in <…> below, the possible choices that could appear in the file.
#   For example, <field> could be any of title, given, … credentials.
#   Verify that all of these values work with the implementation.
#
# name ; <field>('-'<modifier>) ; <value>
#   A sequence of these is to be used to build a person name object with the given field values.
#   If the <field> is 'locale', then the value is the locale of the name.
#     That will always be the last field in the name.
#     NOTE: the locale for the name (where different than the test file's locale) will generally not match the text.
#     It is chosen to exercise the person name formatting, by having a different given-surname order than the file's locale.
#
# expectedResult; <value>
#   This line follows a sequence of name lines, and indicates the that all the following parameter lines have this expected value.
#
# parameters; <options>; <length>; <usage>; <formality>
#   Each of these parameter lines should be tested to see that when formatting the current name with these parameters, 
#   the expected value is produced.
#
# endName
#   Indicates the end of the values to be tested with the current name.
#
# =====
# Example:
#     enum ; field ; title, given, given2, surname, surname2, generation, credentials
#     …
#
#     name ; given; Iris
#     name ; surname; Falke
#     name ; locale; de
#
#     expectedResult; Falke, Iris
#
#     parameters; sorting; long; referring; formal
#     parameters; sorting; medium; referring; informal
#
#     endName
#
#     name ; given; Max
#     name ; given2; Ben
#     name ; surname; Mustermann
#     …
# =====

enum ; field ; title, given, given2, surname, surname2, generation, credentials
enum ; modifiers ; informal, allCaps, initialCap, initial, retain, monogram, prefix, core, vocative, genitive
enum ; order ; givenFirst, surnameFirst, sorting
enum ; length ; long, medium, short
enum ; usage ; referring, addressing, monogram
enum ; formality ; formal, informal

# nativeG
name ; given; Sigurður
name ; locale; is_AQ

expectedResult; Sigurður

parameters; givenFirst; long; referring; formal
parameters; givenFirst; long; referring; informal
parameters; givenFirst; long; addressing; formal
parameters; givenFirst; long; addressing; informal
parameters; givenFirst; medium; referring; formal
parameters; givenFirst; medium; referring; informal
parameters; givenFirst; medium; addressing; formal
parameters; givenFirst; medium; addressing; informal
parameters; givenFirst; short; referring; formal
parameters; givenFirst; short; referring; informal
parameters; givenFirst; short; addressing; formal
parameters; givenFirst; short; addressing; informal
parameters; surnameFirst; long; referring; formal
parameters; surnameFirst; long; referring; informal
parameters; surnameFirst; long; addressing; formal
parameters; surnameFirst; long; addressing; informal
parameters; surnameFirst; medium; referring; formal
parameters; surnameFirst; medium; referring; informal
parameters; surnameFirst; medium; addressing; formal
parameters; surnameFirst; medium; addressing; informal
parameters; surnameFirst; short; referring; formal
parameters; surnameFirst; short; referring; informal
parameters; surnameFirst; short; addressing; formal
parameters; surnameFirst; short; addressing; informal
parameters; sorting; long; referring; formal
parameters; sorting; long; referring; informal
parameters; sorting; medium; referring; formal
parameters; sorting; medium; referring; informal
parameters; sorting; short; referring; formal
parameters; sorting; short; referring; informal

expectedResult; S

parameters; givenFirst; long; monogram; formal
parameters; givenFirst; long; monogram; informal
parameters; givenFirst; medium; monogram; formal
parameters; givenFirst; medium; monogram; informal
parameters; givenFirst; short; monogram; formal
parameters; givenFirst; short; monogram; informal
parameters; surnameFirst; long; monogram; formal
parameters; surnameFirst; long; monogram; informal
parameters; surnameFirst; medium; monogram; formal
parameters; surnameFirst; medium; monogram; informal
parameters; surnameFirst; short; monogram; formal
parameters; surnameFirst; short; monogram; informal

endName

# nativeGS
name ; given; Íris
name ; surname; Adólfsdóttir
name ; locale; is_AQ

expectedResult; Adólfsdóttir, Íris

parameters; surnameFirst; long; referring; informal
parameters; surnameFirst; medium; referring; formal
parameters; surnameFirst; medium; referring; informal

expectedResult; Adólfsdóttir Íris

parameters; surnameFirst; long; referring; formal

expectedResult; Íris Adólfsdóttir

parameters; givenFirst; long; referring; formal
parameters; givenFirst; long; referring; informal
parameters; givenFirst; long; addressing; formal
parameters; givenFirst; medium; referring; formal
parameters; givenFirst; medium; referring; informal
parameters; givenFirst; medium; addressing; formal
parameters; sorting; long; referring; formal
parameters; sorting; long; referring; informal
parameters; sorting; medium; referring; formal
parameters; sorting; medium; referring; informal
parameters; sorting; short; referring; informal

expectedResult; Adólfsdóttir, Í.

parameters; surnameFirst; short; referring; formal
parameters; surnameFirst; short; referring; informal
parameters; surnameFirst; short; addressing; formal

expectedResult; Í. Adólfsdóttir

parameters; givenFirst; short; referring; formal
parameters; givenFirst; short; addressing; formal
parameters; sorting; short; referring; formal

expectedResult; Adólfsdóttir

parameters; surnameFirst; long; addressing; formal
parameters; surnameFirst; medium; addressing; formal

expectedResult; Íris A.

parameters; givenFirst; short; referring; informal

expectedResult; Íris

parameters; givenFirst; long; addressing; informal
parameters; givenFirst; medium; addressing; informal
parameters; givenFirst; short; addressing; informal
parameters; surnameFirst; long; addressing; informal
parameters; surnameFirst; medium; addressing; informal
parameters; surnameFirst; short; addressing; informal

expectedResult; AÍ

parameters; surnameFirst; long; monogram; formal
parameters; surnameFirst; long; monogram; informal

expectedResult; ÍA

parameters; givenFirst; long; monogram; formal
parameters; givenFirst; long; monogram; informal

expectedResult; A

parameters; givenFirst; medium; monogram; formal
parameters; givenFirst; short; monogram; formal
parameters; surnameFirst; medium; monogram; formal
parameters; surnameFirst; short; monogram; formal

expectedResult; Í

parameters; givenFirst; medium; monogram; informal
parameters; givenFirst; short; monogram; informal
parameters; surnameFirst; medium; monogram; informal
parameters; surnameFirst; short; monogram; informal

endName

# nativeGGS
name ; given; Jón
name ; given2; Hannes
name ; surname; Valdimarsson
name ; locale; is_AQ

expectedResult; Jón Hannes Valdimarsson

parameters; givenFirst; long; referring; formal
parameters; givenFirst; long; addressing; formal
parameters; sorting; long; referring; formal

expectedResult; Valdimarsson Jón Hannes

parameters; surnameFirst; long; referring; formal

expectedResult; Valdimarsson, Jón H.

parameters; surnameFirst; medium; referring; formal

expectedResult; Jón H. Valdimarsson

parameters; givenFirst; medium; referring; formal
parameters; sorting; medium; referring; formal

expectedResult; Valdimarsson, J. H.

parameters; surnameFirst; short; referring; formal
parameters; surnameFirst; short; addressing; formal

expectedResult; J. H. Valdimarsson

parameters; givenFirst; short; referring; formal
parameters; sorting; short; referring; formal

expectedResult; Valdimarsson, Jón

parameters; surnameFirst; long; referring; informal
parameters; surnameFirst; medium; referring; informal

expectedResult; Jón Valdimarsson

parameters; givenFirst; long; referring; informal
parameters; givenFirst; medium; referring; informal
parameters; givenFirst; medium; addressing; formal
parameters; sorting; long; referring; informal
parameters; sorting; medium; referring; informal
parameters; sorting; short; referring; informal

expectedResult; Valdimarsson, J.

parameters; surnameFirst; short; referring; informal

expectedResult; J. Valdimarsson

parameters; givenFirst; short; addressing; formal

expectedResult; Valdimarsson

parameters; surnameFirst; long; addressing; formal
parameters; surnameFirst; medium; addressing; formal

expectedResult; Jón V.

parameters; givenFirst; short; referring; informal

expectedResult; JHV

parameters; givenFirst; long; monogram; formal

expectedResult; Jón

parameters; givenFirst; long; addressing; informal
parameters; givenFirst; medium; addressing; informal
parameters; givenFirst; short; addressing; informal
parameters; surnameFirst; long; addressing; informal
parameters; surnameFirst; medium; addressing; informal
parameters; surnameFirst; short; addressing; informal

expectedResult; VJH

parameters; surnameFirst; long; monogram; formal

expectedResult; JV

parameters; givenFirst; long; monogram; informal

expectedResult; VJ

parameters; surnameFirst; long; monogram; informal

expectedResult; J

parameters; givenFirst; medium; monogram; informal
parameters; givenFirst; short; monogram; informal
parameters; surnameFirst; medium; monogram; informal
parameters; surnameFirst; short; monogram; informal

expectedResult; V

parameters; givenFirst; medium; monogram; formal
parameters; givenFirst; short; monogram; formal
parameters; surnameFirst; medium; monogram; formal
parameters; surnameFirst; short; monogram; formal

endName

# nativeFull
name ; title; Hr.
name ; given; Geir Jón
name ; given-informal; Geiri
name ; given2; Magnús Brynjar
name ; surname-core; Skeggjason
name ; generation; yngri
name ; credentials; þingmaður
name ; locale; is_AQ

expectedResult; Skeggjason Hr. Geir Jón Magnús Brynjar yngri, þingmaður

parameters; surnameFirst; long; referring; formal

expectedResult; Geir Jón Magnús Brynjar Skeggjason, þingmaður

parameters; givenFirst; long; referring; formal

expectedResult; Geir Jón M. B. Skeggjason yngri, þingmaður

parameters; givenFirst; medium; referring; formal

expectedResult; Hr. Geir Jón Magnús Brynjar Skeggjason

parameters; givenFirst; long; addressing; formal

expectedResult; Skeggjason, Geir Jón M. B., þingmaður

parameters; surnameFirst; medium; referring; formal

expectedResult; Geir Jón Magnús Brynjar Skeggjason

parameters; sorting; long; referring; formal

expectedResult; Skeggjason, Hr. G. J. M. B.

parameters; surnameFirst; short; addressing; formal

expectedResult; Geir Jón M. B. Skeggjason

parameters; sorting; medium; referring; formal

expectedResult; Hr. Geir Jón Skeggjason

parameters; givenFirst; medium; addressing; formal

expectedResult; Skeggjason, G. J. M. B.

parameters; surnameFirst; short; referring; formal

expectedResult; G. J. M. B. Skeggjason

parameters; givenFirst; short; referring; formal
parameters; sorting; short; referring; formal

expectedResult; Hr. G. J. Skeggjason

parameters; givenFirst; short; addressing; formal

expectedResult; Skeggjason, G. J.

parameters; surnameFirst; short; referring; informal

expectedResult; Skeggjason, Geiri

parameters; surnameFirst; long; referring; informal
parameters; surnameFirst; medium; referring; informal

expectedResult; Geiri Skeggjason

parameters; givenFirst; long; referring; informal
parameters; givenFirst; medium; referring; informal
parameters; sorting; long; referring; informal
parameters; sorting; medium; referring; informal
parameters; sorting; short; referring; informal

expectedResult; Hr. Skeggjason

parameters; surnameFirst; long; addressing; formal
parameters; surnameFirst; medium; addressing; formal

expectedResult; Geiri S.

parameters; givenFirst; short; referring; informal

expectedResult; Geiri

parameters; givenFirst; long; addressing; informal
parameters; givenFirst; medium; addressing; informal
parameters; givenFirst; short; addressing; informal
parameters; surnameFirst; long; addressing; informal
parameters; surnameFirst; medium; addressing; informal
parameters; surnameFirst; short; addressing; informal

expectedResult; GMS

parameters; givenFirst; long; monogram; formal

expectedResult; SGM

parameters; surnameFirst; long; monogram; formal

expectedResult; GS

parameters; givenFirst; long; monogram; informal

expectedResult; SG

parameters; surnameFirst; long; monogram; informal

expectedResult; G

parameters; givenFirst; medium; monogram; informal
parameters; givenFirst; short; monogram; informal
parameters; surnameFirst; medium; monogram; informal
parameters; surnameFirst; short; monogram; informal

expectedResult; S

parameters; givenFirst; medium; monogram; formal
parameters; givenFirst; short; monogram; formal
parameters; surnameFirst; medium; monogram; formal
parameters; surnameFirst; short; monogram; formal

endName

# foreignG
name ; given; Sinbad
name ; locale; ko_AQ

expectedResult; Sinbad

parameters; givenFirst; long; referring; formal
parameters; givenFirst; long; referring; informal
parameters; givenFirst; long; addressing; formal
parameters; givenFirst; long; addressing; informal
parameters; givenFirst; medium; referring; formal
parameters; givenFirst; medium; referring; informal
parameters; givenFirst; medium; addressing; formal
parameters; givenFirst; medium; addressing; informal
parameters; givenFirst; short; referring; formal
parameters; givenFirst; short; referring; informal
parameters; givenFirst; short; addressing; formal
parameters; givenFirst; short; addressing; informal
parameters; surnameFirst; long; referring; formal
parameters; surnameFirst; long; referring; informal
parameters; surnameFirst; long; addressing; formal
parameters; surnameFirst; long; addressing; informal
parameters; surnameFirst; medium; referring; formal
parameters; surnameFirst; medium; referring; informal
parameters; surnameFirst; medium; addressing; formal
parameters; surnameFirst; medium; addressing; informal
parameters; surnameFirst; short; referring; formal
parameters; surnameFirst; short; referring; informal
parameters; surnameFirst; short; addressing; formal
parameters; surnameFirst; short; addressing; informal
parameters; sorting; long; referring; formal
parameters; sorting; long; referring; informal
parameters; sorting; medium; referring; formal
parameters; sorting; medium; referring; informal
parameters; sorting; short; referring; formal
parameters; sorting; short; referring; informal

expectedResult; S

parameters; givenFirst; long; monogram; formal
parameters; givenFirst; long; monogram; informal
parameters; givenFirst; medium; monogram; formal
parameters; givenFirst; medium; monogram; informal
parameters; givenFirst; short; monogram; formal
parameters; givenFirst; short; monogram; informal
parameters; surnameFirst; long; monogram; formal
parameters; surnameFirst; long; monogram; informal
parameters; surnameFirst; medium; monogram; formal
parameters; surnameFirst; medium; monogram; informal
parameters; surnameFirst; short; monogram; formal
parameters; surnameFirst; short; monogram; informal

endName

# foreignGS
name ; given; Käthe
name ; surname; Müller
name ; locale; ko_AQ

expectedResult; Müller, Käthe

parameters; surnameFirst; long; referring; informal
parameters; surnameFirst; medium; referring; formal
parameters; surnameFirst; medium; referring; informal

expectedResult; Käthe Müller

parameters; givenFirst; long; referring; formal
parameters; givenFirst; long; referring; informal
parameters; givenFirst; long; addressing; formal
parameters; givenFirst; medium; referring; formal
parameters; givenFirst; medium; referring; informal
parameters; givenFirst; medium; addressing; formal
parameters; sorting; long; referring; formal
parameters; sorting; long; referring; informal
parameters; sorting; medium; referring; formal
parameters; sorting; medium; referring; informal
parameters; sorting; short; referring; informal

expectedResult; Müller Käthe

parameters; surnameFirst; long; referring; formal

expectedResult; Müller, K.

parameters; surnameFirst; short; referring; formal
parameters; surnameFirst; short; referring; informal
parameters; surnameFirst; short; addressing; formal

expectedResult; K. Müller

parameters; givenFirst; short; referring; formal
parameters; givenFirst; short; addressing; formal
parameters; sorting; short; referring; formal

expectedResult; Käthe M.

parameters; givenFirst; short; referring; informal

expectedResult; Müller

parameters; surnameFirst; long; addressing; formal
parameters; surnameFirst; medium; addressing; formal

expectedResult; Käthe

parameters; givenFirst; long; addressing; informal
parameters; givenFirst; medium; addressing; informal
parameters; givenFirst; short; addressing; informal
parameters; surnameFirst; long; addressing; informal
parameters; surnameFirst; medium; addressing; informal
parameters; surnameFirst; short; addressing; informal

expectedResult; KM

parameters; givenFirst; long; monogram; formal
parameters; givenFirst; long; monogram; informal

expectedResult; MK

parameters; surnameFirst; long; monogram; formal
parameters; surnameFirst; long; monogram; informal

expectedResult; K

parameters; givenFirst; medium; monogram; informal
parameters; givenFirst; short; monogram; informal
parameters; surnameFirst; medium; monogram; informal
parameters; surnameFirst; short; monogram; informal

expectedResult; M

parameters; givenFirst; medium; monogram; formal
parameters; givenFirst; short; monogram; formal
parameters; surnameFirst; medium; monogram; formal
parameters; surnameFirst; short; monogram; formal

endName

# foreignGGS
name ; given; Zäzilia
name ; given2; Hamish
name ; surname; Stöber
name ; locale; ko_AQ

expectedResult; Stöber Zäzilia Hamish

parameters; surnameFirst; long; referring; formal

expectedResult; Zäzilia Hamish Stöber

parameters; givenFirst; long; referring; formal
parameters; givenFirst; long; addressing; formal
parameters; sorting; long; referring; formal

expectedResult; Stöber, Zäzilia H.

parameters; surnameFirst; medium; referring; formal

expectedResult; Zäzilia H. Stöber

parameters; givenFirst; medium; referring; formal
parameters; sorting; medium; referring; formal

expectedResult; Stöber, Zäzilia

parameters; surnameFirst; long; referring; informal
parameters; surnameFirst; medium; referring; informal

expectedResult; Zäzilia Stöber

parameters; givenFirst; long; referring; informal
parameters; givenFirst; medium; referring; informal
parameters; givenFirst; medium; addressing; formal
parameters; sorting; long; referring; informal
parameters; sorting; medium; referring; informal
parameters; sorting; short; referring; informal

expectedResult; Stöber, Z. H.

parameters; surnameFirst; short; referring; formal
parameters; surnameFirst; short; addressing; formal

expectedResult; Z. H. Stöber

parameters; givenFirst; short; referring; formal
parameters; sorting; short; referring; formal

expectedResult; Stöber, Z.

parameters; surnameFirst; short; referring; informal

expectedResult; Zäzilia S.

parameters; givenFirst; short; referring; informal

expectedResult; Z. Stöber

parameters; givenFirst; short; addressing; formal

expectedResult; Zäzilia

parameters; givenFirst; long; addressing; informal
parameters; givenFirst; medium; addressing; informal
parameters; givenFirst; short; addressing; informal
parameters; surnameFirst; long; addressing; informal
parameters; surnameFirst; medium; addressing; informal
parameters; surnameFirst; short; addressing; informal

expectedResult; Stöber

parameters; surnameFirst; long; addressing; formal
parameters; surnameFirst; medium; addressing; formal

expectedResult; SZH

parameters; surnameFirst; long; monogram; formal

expectedResult; ZHS

parameters; givenFirst; long; monogram; formal

expectedResult; SZ

parameters; surnameFirst; long; monogram; informal

expectedResult; ZS

parameters; givenFirst; long; monogram; informal

expectedResult; S

parameters; givenFirst; medium; monogram; formal
parameters; givenFirst; short; monogram; formal
parameters; surnameFirst; medium; monogram; formal
parameters; surnameFirst; short; monogram; formal

expectedResult; Z

parameters; givenFirst; medium; monogram; informal
parameters; givenFirst; short; monogram; informal
parameters; surnameFirst; medium; monogram; informal
parameters; surnameFirst; short; monogram; informal

endName

# foreignFull
name ; title; dr.
name ; given; Sigríður Jóna
name ; given-informal; Sigga
name ; given2; Valgerður Fanndís
name ; surname-prefix; von
name ; surname-core; Bjarnadóttir
name ; surname2; Jónsdóttir Möller
name ; generation; yngri
name ; credentials; M.A. í bókmenntafræði
name ; locale; ko_AQ

expectedResult; von Bjarnadóttir dr. Sigríður Jóna Valgerður Fanndís yngri, M.A. í bókmenntafræði

parameters; surnameFirst; long; referring; formal

expectedResult; Sigríður Jóna Valgerður Fanndís von Bjarnadóttir, M.A. í bókmenntafræði

parameters; givenFirst; long; referring; formal

expectedResult; Sigríður Jóna V. F. von Bjarnadóttir yngri, M.A. í bókmenntafræði

parameters; givenFirst; medium; referring; formal

expectedResult; von Bjarnadóttir, Sigríður Jóna V. F., M.A. í bókmenntafræði

parameters; surnameFirst; medium; referring; formal

expectedResult; dr. Sigríður Jóna Valgerður Fanndís von Bjarnadóttir

parameters; givenFirst; long; addressing; formal

expectedResult; Sigríður Jóna Valgerður Fanndís von Bjarnadóttir

parameters; sorting; long; referring; formal

expectedResult; Sigríður Jóna V. F. von Bjarnadóttir

parameters; sorting; medium; referring; formal

expectedResult; dr. Sigríður Jóna von Bjarnadóttir

parameters; givenFirst; medium; addressing; formal

expectedResult; von Bjarnadóttir, dr. S. J. V. F.

parameters; surnameFirst; short; addressing; formal

expectedResult; von Bjarnadóttir, S. J. V. F.

parameters; surnameFirst; short; referring; formal

expectedResult; S. J. V. F. von Bjarnadóttir

parameters; givenFirst; short; referring; formal
parameters; sorting; short; referring; formal

expectedResult; dr. S. J. von Bjarnadóttir

parameters; givenFirst; short; addressing; formal

expectedResult; von Bjarnadóttir, S. J.

parameters; surnameFirst; short; referring; informal

expectedResult; von Bjarnadóttir, Sigga

parameters; surnameFirst; long; referring; informal
parameters; surnameFirst; medium; referring; informal

expectedResult; Sigga von Bjarnadóttir

parameters; givenFirst; long; referring; informal
parameters; givenFirst; medium; referring; informal
parameters; sorting; long; referring; informal
parameters; sorting; medium; referring; informal
parameters; sorting; short; referring; informal

expectedResult; dr. von Bjarnadóttir

parameters; surnameFirst; long; addressing; formal
parameters; surnameFirst; medium; addressing; formal

expectedResult; Sigga v. B.

parameters; givenFirst; short; referring; informal

expectedResult; Sigga

parameters; givenFirst; long; addressing; informal
parameters; givenFirst; medium; addressing; informal
parameters; givenFirst; short; addressing; informal
parameters; surnameFirst; long; addressing; informal
parameters; surnameFirst; medium; addressing; informal
parameters; surnameFirst; short; addressing; informal

expectedResult; SVV

parameters; givenFirst; long; monogram; formal

expectedResult; VSV

parameters; surnameFirst; long; monogram; formal

expectedResult; SV

parameters; givenFirst; long; monogram; informal

expectedResult; VS

parameters; surnameFirst; long; monogram; informal

expectedResult; S

parameters; givenFirst; medium; monogram; informal
parameters; givenFirst; short; monogram; informal
parameters; surnameFirst; medium; monogram; informal
parameters; surnameFirst; short; monogram; informal

expectedResult; V

parameters; givenFirst; medium; monogram; formal
parameters; givenFirst; short; monogram; formal
parameters; surnameFirst; medium; monogram; formal
parameters; surnameFirst; short; monogram; formal

endName
