diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-06 16:14:11 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-06 16:14:11 +1300 |
commit | 6652e4c3e23da63d4277caaca7f91e651793f503 (patch) | |
tree | ef8d12b439e5cd0f0b826aa1d465f5e4db7d0f51 /test/org | |
parent | 814794126d232b11a67c06691ed5d5da6c32dd75 (diff) | |
download | trackermap-server-6652e4c3e23da63d4277caaca7f91e651793f503.tar.gz trackermap-server-6652e4c3e23da63d4277caaca7f91e651793f503.tar.bz2 trackermap-server-6652e4c3e23da63d4277caaca7f91e651793f503.zip |
Rename some of checksum methods
Diffstat (limited to 'test/org')
-rw-r--r-- | test/org/traccar/helper/ChecksumTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/org/traccar/helper/ChecksumTest.java b/test/org/traccar/helper/ChecksumTest.java index c87692ce8..ad112b940 100644 --- a/test/org/traccar/helper/ChecksumTest.java +++ b/test/org/traccar/helper/ChecksumTest.java @@ -8,8 +8,8 @@ public class ChecksumTest { @Test public void testLuhnChecksum() { - Assert.assertEquals(7, Checksum.luhnChecksum(12345678901234L)); - Assert.assertEquals(0, Checksum.luhnChecksum(63070019470771L)); + Assert.assertEquals(7, Checksum.luhn(12345678901234L)); + Assert.assertEquals(0, Checksum.luhn(63070019470771L)); } |