Sha256: 3c7241476d353ebc772ed7b51f7cd8f5725567a8574ff1d4542836f021329959

Contents?: true

Size: 746 Bytes

Versions: 4

Compression:

Stored size: 746 Bytes

Contents

require "prop_check/version"
require 'prop_check/property'
require 'prop_check/generator'
require 'prop_check/generators'
require 'prop_check/helper'
##
# Main module of the PropCheck library.
#
# You probably want to look at the documentation of
# PropCheck::Generator and PropCheck::Generators
# to find out more about how to use generators.
module PropCheck
  module Errors
    class Error < StandardError; end
    class UserError < Error; end
    class GeneratorExhaustedError < UserError; end
    class MaxShrinkStepsExceededError < UserError; end
  end

  extend self

  ##
  # Runs a property.
  #
  # See the README for more details.
  def forall(*args, **kwargs, &block)
    PropCheck::Property.forall(*args, **kwargs, &block)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
prop_check-0.8.0 lib/prop_check.rb
prop_check-0.7.1 lib/prop_check.rb
prop_check-0.7.0 lib/prop_check.rb
prop_check-0.6.2 lib/prop_check.rb