Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ft/ops 500 #26

Merged
merged 5 commits into from
Aug 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/main/java/dev/vality/binbase/domain/CountryCode.java
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,9 @@ public enum CountryCode {
WF("Wallis and Futuna", "WLF", "876"),
WS("Samoa", "WSM", "882"),
YE("Yemen", "YEM", "887"),
ZM("Zambia", "ZMB", "894");
ZM("Zambia", "ZMB", "894"),
AB("Republic of Abkhazia", "ABH", "895"),
OS("Republic of South Ossetia", "OST", "896");


private static final Map<String, CountryCode> alpha3Map = new HashMap<>();
Expand Down
1 change: 1 addition & 0 deletions src/test/java/dev/vality/binbase/util/PanUtilTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ void testToLongValue() {
assertEquals(100001000000000000L, PanUtil.toLongValue("100001"));
assertEquals(1244000000000000L, PanUtil.toLongValue("001244"));
assertEquals(1244000000000000L, PanUtil.toLongValue("1244"));
assertEquals(976253000000000000L, PanUtil.toLongValue("976253"));
}

@Test
Expand Down
2 changes: 2 additions & 0 deletions src/test/resources/data/binbase/case1/V7_binbase_1.9.0.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
976200;NSPK;"CJSC ""Dushanbe City Bank""";DEBIT;MIR Classic;Tajikistan;TJ;TJK;762
977700;NSPK;MRB Bank;DEBIT;MIR Classic;Republic of South Ossetia;OS;OST;896
Loading