test::qcheck Namespace Reference

Functions

def check
def check_unittest
def choose
def choose_lifted
def gen_boolean
def gen_char
def gen_datetime
def gen_dbref
def gen_dict
def gen_float
def gen_int
def gen_list
def gen_mongo_dict
def gen_mongo_list
def gen_mongo_value
def gen_objectid
def gen_printable_char
def gen_printable_string
def gen_range
def gen_regexp
def gen_string
def gen_unichar
def gen_unicode
def isnt
def lift
def map
def reduce
def simplify

Variables

int examples = 5
int gen_target = 100
int reduction_attempts = 10

Function Documentation

def test::qcheck::check (   predicate,
  generator 
)

Definition at line 219 of file qcheck.py.

def test::qcheck::check_unittest (   test,
  predicate,
  generator 
)

Definition at line 232 of file qcheck.py.

def test::qcheck::choose (   list  ) 

Definition at line 44 of file qcheck.py.

def test::qcheck::choose_lifted (   generator_list  ) 

Definition at line 36 of file qcheck.py.

def test::qcheck::gen_boolean (  ) 

Definition at line 61 of file qcheck.py.

def test::qcheck::gen_char (   set = None  ) 

Definition at line 73 of file qcheck.py.

def test::qcheck::gen_datetime (  ) 

Definition at line 95 of file qcheck.py.

def test::qcheck::gen_dbref (  ) 

Definition at line 138 of file qcheck.py.

def test::qcheck::gen_dict (   gen_key,
  gen_value,
  gen_length 
)

Definition at line 105 of file qcheck.py.

def test::qcheck::gen_float (  ) 

Definition at line 57 of file qcheck.py.

def test::qcheck::gen_int (  ) 

Definition at line 52 of file qcheck.py.

def test::qcheck::gen_list (   generator,
  gen_length 
)

Definition at line 91 of file qcheck.py.

def test::qcheck::gen_mongo_dict (   depth,
  ref = True 
)

Definition at line 165 of file qcheck.py.

def test::qcheck::gen_mongo_list (   depth,
  ref 
)

Definition at line 161 of file qcheck.py.

def test::qcheck::gen_mongo_value (   depth,
  ref 
)

Definition at line 143 of file qcheck.py.

def test::qcheck::gen_objectid (  ) 

Definition at line 134 of file qcheck.py.

def test::qcheck::gen_printable_char (  ) 

Definition at line 65 of file qcheck.py.

def test::qcheck::gen_printable_string (   gen_length  ) 

Definition at line 69 of file qcheck.py.

def test::qcheck::gen_range (   start,
  stop 
)

Definition at line 48 of file qcheck.py.

def test::qcheck::gen_regexp (   gen_length  ) 

Definition at line 115 of file qcheck.py.

def test::qcheck::gen_string (   gen_length  ) 

Definition at line 77 of file qcheck.py.

def test::qcheck::gen_unichar (  ) 

Definition at line 81 of file qcheck.py.

def test::qcheck::gen_unicode (   gen_length  ) 

Definition at line 85 of file qcheck.py.

def test::qcheck::isnt (   predicate  ) 

Definition at line 215 of file qcheck.py.

def test::qcheck::lift (   value  ) 

Definition at line 32 of file qcheck.py.

def test::qcheck::map (   generator,
  function 
)

Definition at line 40 of file qcheck.py.

def test::qcheck::reduce (   case,
  predicate,
  reductions = 0 
)

Definition at line 207 of file qcheck.py.

def test::qcheck::simplify (   case  ) 

Definition at line 171 of file qcheck.py.


Variable Documentation

Definition at line 29 of file qcheck.py.

Definition at line 27 of file qcheck.py.

Definition at line 28 of file qcheck.py.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines


pymongo
Author(s): Bhaskara Marthi
autogenerated on Fri Jan 11 10:09:07 2013