Lines Matching +full:python +full:- +full:version
12 These tests use the python ffi to run the imath and gmp functions. To
16 * python 3
45 gmp api that we wrap and then call the gmp version of the api and
46 compare the results to the imath version. The results should be
51 --------------------
54 as 0,1,-1, etc. We generate input data based on the type of the input
59 mpz_t: 0,1,-1, all min/max values, all min/max values +/- 1
60 small numbers: 1-4 digits
61 medium numbers: 5-20 digits
62 large numbers: 20-100 digits
63 long : 0,1,-1 short,int,long min/max values
65 unsigned long: 0,1,-1, unsigned short, unsigned int, unsigned long min/max values
76 --------------------
77 The tests are run using the python ffi (the ctypes module). We have a
82 * python wrapper to call both libgmp and libimath wrappers and compare results
85 the python runner scrip and used to run each test input and compare
90 genctest.py ~~generates~~> gmp_test.c <--includes-- gmp_custom_test.c
91 gmp_test.c ~~generates~~> gmp_tests.so <--links-- libgmp.so
92 genpytest.py ~~generates~~> wrappers.py <--calls-- gmp_test.so
93 gmp_test.so --loads--> runtest.py <--includes-- wrappers.py