Skip to content

Commit

Permalink
RIA-9472 Added 2 new countries (#408) (#409)
Browse files Browse the repository at this point in the history
* RIA-9472 Added 2 new countries

* RIA-9472 Updated dependencies

Co-authored-by: ikirsanov <[email protected]>
  • Loading branch information
ThomasKKC and ikirsanov authored Oct 28, 2024
1 parent 4fbda1a commit 2e1294e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ public enum Nationality {
BW("Botswana"),
BV("Bouvet Island"),
BR("Brazil"),
BC("British Overseas Citizen"),
VG("British Virgin Islands"),
IO("British Indian Ocean Territory"),
BN("Brunei Darussalam"),
Expand Down Expand Up @@ -125,6 +126,7 @@ public enum Nationality {
KI("Kiribati"),
KP("Korea, Democratic People's Republic of"),
KR("Korea, Republic of"),
KO("Kosovo"),
KW("Kuwait"),
KG("Kyrgyzstan"),
LA("Lao PDR"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ void has_correct_values_05() {
assertEquals("Kiribati", Nationality.KI.toString());
assertEquals("Korea, Democratic People's Republic of", Nationality.KP.toString());
assertEquals("Korea, Republic of", Nationality.KR.toString());
assertEquals("Kosovo", Nationality.KO.toString());
assertEquals("Kuwait", Nationality.KW.toString());
assertEquals("Kyrgyzstan", Nationality.KG.toString());
assertEquals("Lao PDR", Nationality.LA.toString());
Expand Down Expand Up @@ -253,6 +254,7 @@ void has_correct_values_02() {
assertEquals("Botswana", Nationality.BW.toString());
assertEquals("Bouvet Island", Nationality.BV.toString());
assertEquals("Brazil", Nationality.BR.toString());
assertEquals("British Overseas Citizen", Nationality.BC.toString());
assertEquals("British Virgin Islands", Nationality.VG.toString());
assertEquals("British Indian Ocean Territory", Nationality.IO.toString());
assertEquals("Brunei Darussalam", Nationality.BN.toString());
Expand Down Expand Up @@ -304,6 +306,6 @@ void has_correct_values_01() {

@Test
void if_this_test_fails_it_is_because_it_needs_updating_with_your_changes() {
assertEquals(252, Nationality.values().length);
assertEquals(254, Nationality.values().length);
}
}

0 comments on commit 2e1294e

Please sign in to comment.