terryyin/lizard — pull request #26 by gacekjk (2013-12-10 00:08:07+00:00)
Title: fixed random fails of unit tests for duplicates check

The problem was the use of the randint function in the test case. In some cases the generated numbers were the same (obvious).

The interesting thing is that it also failed on my computer on a clean system in the first run of tests (this may be some kind of bug in python random module), and then I couldn't reproduce it until I started running tests in a bash loop (1000 executions).

Travis link: https://travis-ci.org/gacekjk/lizard/builds/15196511