Skip to content
This repository has been archived by the owner on Mar 5, 2020. It is now read-only.

Commit

Permalink
Removed obsolete comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
crazybob committed Nov 16, 2011
1 parent 1176818 commit 6fda80c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions tests/src/main/java/com/squareup/luhnybin/LuhnyBinTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,24 +60,6 @@ public class LuhnyBinTests extends TestSuite {
.send(nestedNumber())
.expect(mask(16));

// 1111111111111abc

// 15:
// 111111111111abc
// 121212121212aBc
// (18 + a + B + c) % 10 = 0

// 16:
// 1111111111111abc
// 2121212121212aBc
// (20 + a + B + c) % 10 = 0

// (18 + a + B + c) % 10 = (20 + a + B + c) % 10

// a: 0-9
// B: 0-9
// c: 0-9

test("16-digit # flanked by non-matching digits")
.send("9875610591081018250321")
.expect("987XXXXXXXXXXXXXXXX321");
Expand Down
Binary file modified tests/target/luhnybin-1.0-SNAPSHOT.jar
Binary file not shown.

0 comments on commit 6fda80c

Please sign in to comment.