# 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: gd
#
# 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; Calum
name ; locale; gd_AQ

expectedResult; Calum

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; C

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; Oighrig
name ; surname; Dhòmhnallach
name ; locale; gd_AQ

expectedResult; Dhòmhnallach, Oighrig

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; Dhòmhnallach Oighrig

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

expectedResult; Oighrig Dhòmhnallach

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

expectedResult; Dhòmhnallach, O.

parameters; sorting; short; referring; formal

expectedResult; Dhòmhnallach O.

parameters; surnameFirst; short; referring; formal

expectedResult; O. Dhòmhnallach

parameters; givenFirst; short; referring; formal

expectedResult; Dhòmhnallach

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

expectedResult; Oighrig

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

expectedResult; DO

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

expectedResult; OD

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

expectedResult; D

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

expectedResult; O

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

endName

# nativeGGS
name ; given; Dòmhnall Iain
name ; given2; Tormod
name ; surname; Caimbeul
name ; locale; gd_AQ

expectedResult; Caimbeul, Dòmhnall Iain Tormod

parameters; sorting; long; referring; formal
parameters; sorting; long; referring; informal

expectedResult; Caimbeul Dòmhnall Iain Tormod

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

expectedResult; Dòmhnall Iain Tormod Caimbeul

parameters; givenFirst; long; referring; formal
parameters; givenFirst; long; referring; informal
parameters; givenFirst; medium; referring; informal

expectedResult; Caimbeul, Dòmhnall Iain T.

parameters; sorting; medium; referring; formal
parameters; sorting; medium; referring; informal
parameters; sorting; short; referring; informal

expectedResult; Caimbeul Dòmhnall Iain T.

parameters; surnameFirst; medium; referring; formal

expectedResult; Dòmhnall Iain T. Caimbeul

parameters; givenFirst; medium; referring; formal

expectedResult; Dòmhnall Iain Caimbeul

parameters; givenFirst; short; addressing; formal

expectedResult; Dòmhnall Iain Tormod

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

expectedResult; Caimbeul, D. I. T.

parameters; sorting; short; referring; formal

expectedResult; Caimbeul D. I. T.

parameters; surnameFirst; short; referring; formal

expectedResult; D. I. T. Caimbeul

parameters; givenFirst; short; referring; formal

expectedResult; Dòmhnall Iain T.

parameters; givenFirst; short; referring; informal
parameters; surnameFirst; short; referring; informal

expectedResult; Dòmhnall Iain

parameters; givenFirst; short; addressing; informal
parameters; surnameFirst; short; addressing; informal

expectedResult; Caimbeul

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

expectedResult; CDT

parameters; surnameFirst; long; monogram; formal

expectedResult; DTC

parameters; givenFirst; long; monogram; formal

expectedResult; CD

parameters; surnameFirst; long; monogram; informal

expectedResult; DC

parameters; givenFirst; long; monogram; informal

expectedResult; C

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

expectedResult; D

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

endName

# nativeFull
name ; title; Mgr.
name ; given; Dòmhnall Iain
name ; given-informal; Donaidh
name ; given2; Bàn
name ; surname-core; Mac a’ Ghobhainn
name ; surname2; Chorùna
name ; credentials; am post
name ; locale; gd_AQ

expectedResult; Mac a’ Ghobhainn Chorùna Mgr. Dòmhnall Iain Bàn am post

parameters; surnameFirst; long; referring; formal

expectedResult; Mgr. Dòmhnall Iain Bàn Mac a’ Ghobhainn Chorùna am post

parameters; givenFirst; long; referring; formal

expectedResult; Dòmhnall Iain B. Mac a’ Ghobhainn am post

parameters; givenFirst; medium; referring; formal

expectedResult; Mac a’ Ghobhainn Dòmhnall Iain B. am post

parameters; surnameFirst; medium; referring; formal

expectedResult; Mac a’ Ghobhainn Chorùna Donaidh Bàn

parameters; surnameFirst; long; referring; informal

expectedResult; Mac a’ Ghobhainn, Dòmhnall Iain Bàn

parameters; sorting; long; referring; formal

expectedResult; Mac a’ Ghobhainn, Dòmhnall Iain B.

parameters; sorting; medium; referring; formal

expectedResult; Dòmhnall Iain Mac a’ Ghobhainn

parameters; givenFirst; short; addressing; formal

expectedResult; Mac a’ Ghobhainn, Donaidh Bàn

parameters; sorting; long; referring; informal

expectedResult; Donaidh Bàn Mac a’ Ghobhainn

parameters; givenFirst; long; referring; informal
parameters; givenFirst; medium; referring; informal

expectedResult; Mac a’ Ghobhainn Donaidh Bàn

parameters; surnameFirst; medium; referring; informal

expectedResult; Mac a’ Ghobhainn, Donaidh B.

parameters; sorting; medium; referring; informal
parameters; sorting; short; referring; informal

expectedResult; Mac a’ Ghobhainn, D. I. B.

parameters; sorting; short; referring; formal

expectedResult; D. I. B. Mac a’ Ghobhainn

parameters; givenFirst; short; referring; formal

expectedResult; Mac a’ Ghobhainn D. I. B.

parameters; surnameFirst; short; referring; formal

expectedResult; Mgr. Mac a’ Ghobhainn

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

expectedResult; Donaidh Bàn

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

expectedResult; Donaidh B.

parameters; givenFirst; short; referring; informal
parameters; surnameFirst; short; referring; informal

expectedResult; Donaidh

parameters; givenFirst; short; addressing; informal
parameters; surnameFirst; short; addressing; informal

expectedResult; DBM

parameters; givenFirst; long; monogram; formal

expectedResult; MDB

parameters; surnameFirst; long; monogram; formal

expectedResult; DM

parameters; givenFirst; long; monogram; informal

expectedResult; MD

parameters; surnameFirst; long; monogram; informal

expectedResult; D

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

# foreignG
name ; given; Sinbad
name ; locale; ja_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; Kate
name ; surname; Miller
name ; locale; ja_AQ

expectedResult; Miller, Kate

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; Kate Miller

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

expectedResult; Miller Kate

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

expectedResult; Miller, K.

parameters; sorting; short; referring; formal

expectedResult; K. Miller

parameters; givenFirst; short; referring; formal

expectedResult; Miller K.

parameters; surnameFirst; short; referring; formal

expectedResult; Miller

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

expectedResult; Kate

parameters; givenFirst; long; addressing; informal
parameters; givenFirst; medium; addressing; informal
parameters; givenFirst; short; referring; informal
parameters; givenFirst; short; addressing; informal
parameters; surnameFirst; long; addressing; informal
parameters; surnameFirst; medium; addressing; informal
parameters; surnameFirst; short; referring; 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; Cecilia
name ; given2; Angela
name ; surname; Smith
name ; locale; ja_AQ

expectedResult; Smith, Cecilia Angela

parameters; sorting; long; referring; formal
parameters; sorting; long; referring; informal

expectedResult; Cecilia Angela Smith

parameters; givenFirst; long; referring; formal
parameters; givenFirst; long; referring; informal
parameters; givenFirst; medium; referring; informal

expectedResult; Smith Cecilia Angela

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

expectedResult; Smith, Cecilia A.

parameters; sorting; medium; referring; formal
parameters; sorting; medium; referring; informal
parameters; sorting; short; referring; informal

expectedResult; Cecilia A. Smith

parameters; givenFirst; medium; referring; formal

expectedResult; Smith Cecilia A.

parameters; surnameFirst; medium; referring; formal

expectedResult; Cecilia Angela

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

expectedResult; Cecilia Smith

parameters; givenFirst; short; addressing; formal

expectedResult; Smith, C. A.

parameters; sorting; short; referring; formal

expectedResult; C. A. Smith

parameters; givenFirst; short; referring; formal

expectedResult; Smith C. A.

parameters; surnameFirst; short; referring; formal

expectedResult; Cecilia A.

parameters; givenFirst; short; referring; informal
parameters; surnameFirst; short; referring; informal

expectedResult; Cecilia

parameters; givenFirst; short; addressing; informal
parameters; surnameFirst; short; addressing; informal

expectedResult; Smith

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

expectedResult; CAS

parameters; givenFirst; long; monogram; formal

expectedResult; SCA

parameters; surnameFirst; long; monogram; formal

expectedResult; CS

parameters; givenFirst; long; monogram; informal

expectedResult; SC

parameters; surnameFirst; long; monogram; informal

expectedResult; C

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

# foreignFull
name ; title; Prof. Dr.
name ; given; Ada Cornelia
name ; given-informal; Neele
name ; given2; César Martín
name ; surname-prefix; von
name ; surname-core; Brühl
name ; surname2; González Domingo
name ; generation; Jr
name ; credentials; MD DDS
name ; locale; ja_AQ

expectedResult; Prof. Dr. Ada Cornelia César Martín von Brühl González Domingo Jr, MD DDS

parameters; givenFirst; long; referring; formal

expectedResult; von Brühl González Domingo Prof. Dr. Ada Cornelia César Martín Jr, MD DDS

parameters; surnameFirst; long; referring; formal

expectedResult; von Brühl González Domingo Neele César Martín

parameters; surnameFirst; long; referring; informal

expectedResult; Ada Cornelia C. M. von Brühl Jr, MD DDS

parameters; givenFirst; medium; referring; formal

expectedResult; von Brühl Ada Cornelia C. M. Jr, MD DDS

parameters; surnameFirst; medium; referring; formal

expectedResult; Brühl, Ada Cornelia César Martín von

parameters; sorting; long; referring; formal

expectedResult; Brühl, Ada Cornelia C. M. von

parameters; sorting; medium; referring; formal

expectedResult; von Brühl, Neele César Martín

parameters; sorting; long; referring; informal

expectedResult; Neele César Martín von Brühl

parameters; givenFirst; long; referring; informal
parameters; givenFirst; medium; referring; informal

expectedResult; von Brühl Neele César Martín

parameters; surnameFirst; medium; referring; informal

expectedResult; Ada Cornelia von Brühl

parameters; givenFirst; short; addressing; formal

expectedResult; Brühl, A. C. C. M. von

parameters; sorting; short; referring; formal

expectedResult; von Brühl, Neele C. M.

parameters; sorting; medium; referring; informal
parameters; sorting; short; referring; informal

expectedResult; A. C. C. M. von Brühl

parameters; givenFirst; short; referring; formal

expectedResult; von Brühl A. C. C. M.

parameters; surnameFirst; short; referring; formal

expectedResult; Prof. Dr. von Brühl

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

expectedResult; Neele César Martín

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

expectedResult; Neele C. M.

parameters; givenFirst; short; referring; informal
parameters; surnameFirst; short; referring; informal

expectedResult; Neele

parameters; givenFirst; short; addressing; informal
parameters; surnameFirst; short; addressing; informal

expectedResult; ACV

parameters; givenFirst; long; monogram; formal

expectedResult; VAC

parameters; surnameFirst; long; monogram; formal

expectedResult; NV

parameters; givenFirst; long; monogram; informal

expectedResult; VN

parameters; surnameFirst; long; monogram; informal

expectedResult; N

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
