Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
goulven authored and goulven committed Oct 26, 2024
1 parent 2ad992d commit e7b9c40
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions commons/src/test/java/org/open4goods/commons/BarcodeTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ public void test() {
// Testing ean13
assertEquals(BarcodeType.GTIN_13, service.sanitize("8436542858045").getKey());
assertEquals(BarcodeType.GTIN_13, service.sanitize("3462117246967").getKey());

assertEquals(BarcodeType.ISBN_13, service.sanitize("9781845924539").getKey());




// Testing ean8
assertEquals(BarcodeType.GTIN_13, service.sanitize("40170725").getKey());
Expand Down

0 comments on commit e7b9c40

Please sign in to comment.