README.markdown in queencheck-0.0.0 vs README.markdown in queencheck-0.0.1

- old
+ new

@@ -1,21 +1,25 @@ -# QueenCheck +# QueenCheck [![Build Status](https://secure.travis-ci.org/rosylilly/QueenCheck.png)](http://travis-ci.org/rosylilly/QueenCheck) QueenCheck is random test library. Inspired by QuickCheck library in Haskell. ## Usage +```shell +gem install queencheck +``` + ```ruby require 'queencheck' number = 100 check = QueenCheck.new(number, :+, Integer) res = check.run(verbose: true) do | result, arguments, error | - result == number + arguments[0] +result == number + arguments[0] end -puts "#{res[:passed]} / #{res[:examples]}" +puts "#{res.passes} / #{res.examples}" ```