Commit Graph

9 Commits

Author SHA1 Message Date
Dmitry Chestnykh
8902c56451 Add test for modulo bias
Successfully detects bias fixed by PR #9.
2016-02-12 17:43:26 +01:00
Dmitry Chestnykh
c1f1da6c92 Fix allowed characters test. 2015-01-21 19:39:59 +01:00
Dmitry Chestnykh
7668ee6861 Fix hanging when requested zero-length string.
Add test for NewLen from 0 to 100.
2015-01-21 18:36:13 +01:00
Dmitry Chestnykh
d22ce09b5b Fix test: wrong arguments order for format string.
Also, remove unnecessary second argument in for loop.
2015-01-21 10:07:48 +01:00
Dmitry Chestnykh
76c2ebb03e Drop MIT license, put code into public domain/CC0. 2014-11-06 23:13:45 +01:00
Dmitry Chestnykh
b09047d1ee Fix for alphabets of 256 characters.
Also, panic if given more.
2014-08-09 17:03:38 +02:00
Oleg Ivanov
1b691aeab2 fixed an endless loop when length of chars is a divisor of 256 2014-08-09 23:08:44 +10:00
Dmitry Chestnykh
00f2f1a9e4 Fix for Go weekly.2012-01-15. 2012-01-16 14:29:26 +01:00
Dmitry Chestnykh
4bfaae0c47 Initial commit. 2011-04-05 17:57:25 +02:00