Merge pull request #38 from Cloven/fix_autogenerated_function_call

parse transform fix: triq:test/1 -> triq:check/1
Fix int/2 generator

The issue was that the maximum value picked for the generator was
the highest between SampleSize (which is potentially very big)
and Diff (which is the real maximum we don't want to cross).
Instead we now pick the lowest, ensuring that we won't generate
a value bigger than Diff.

Tests suggested by @krestenkrab.
Merge pull request #41 from essen/broken-intrange

Fix int/2 generator
Merge pull request #1 from krestenkrab/master

merging upstream