Skip to content

Commit

Permalink
modify tests to cover new seeds (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
hajk1 authored Jul 29, 2024
1 parent 60fd728 commit fce3f8c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/test/java/org/iban4j/IbanTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -301,9 +301,9 @@ public void ibanConstructionRandom() {
@Test
public void ibanConstructionSeeded() {
assertAll(
() -> assertIbanUtilRandomWithSeedEquals("FR46 1918 2083 691H JENI SJS3 364", 1),
() -> assertIbanUtilRandomWithSeedEquals("LC94 QKBB C1OY WHST MPQA 7GVB 4WBX VTP0", 2),
() -> assertIbanUtilRandomWithSeedEquals("DK23 0882 2804 1804 23", 3));
() -> assertIbanUtilRandomWithSeedEquals("GI33 XNNK KKDA PM6A HNQF XLK", 1),
() -> assertIbanUtilRandomWithSeedEquals("CZ17 0679 0988 8783 6940 3497", 2),
() -> assertIbanUtilRandomWithSeedEquals("NC29 0882 8280 41ER G8WO UQNL Y52", 3));
}

private void assertIbanUtilRandomWithSeedEquals(
Expand All @@ -321,9 +321,9 @@ private void assertIbanUtilRandomWithSeedEquals(
@Test
public void ibanBuilderConstructionSeeded() {
assertAll(
() -> assertIbanBuilderRandomWithSeedEquals("FR46 1918 2083 691H JENI SJS3 364", 1),
() -> assertIbanBuilderRandomWithSeedEquals("LC94 QKBB C1OY WHST MPQA 7GVB 4WBX VTP0", 2),
() -> assertIbanBuilderRandomWithSeedEquals("DK23 0882 2804 1804 23", 3));
() -> assertIbanBuilderRandomWithSeedEquals("GI33 XNNK KKDA PM6A HNQF XLK", 1),
() -> assertIbanBuilderRandomWithSeedEquals("CZ17 0679 0988 8783 6940 3497", 2),
() -> assertIbanBuilderRandomWithSeedEquals("NC29 0882 8280 41ER G8WO UQNL Y52", 3));
}

@Test
Expand Down

0 comments on commit fce3f8c

Please sign in to comment.