Hi,

> On Apr 7, 2008, at 5:48 PM, Rahul Garg wrote:
>> 2. I forgot to ask : Do you use some particular tests/benchmarks
>> etc? I can try and adapt those to Spyke-syntax if some test cases
>> are available.

Besides the pybench test runs that Robert showed you, we also have a test
suite. It's quite simple and based on doctest.

http://hg.cython.org/cython-devel/file/e005b58d83b8/tests/run/

The main idea is to let Cython compile a .pyx source file to an extension
module and run the doctest strings of that module from Python. This
provides a very comfortable way of comparing test results between Cython
and Python. Here is an example I like:

http://hg.cython.org/cython-devel/file/e005b58d83b8/tests/run/unicodeliterals.pyx

Stefan

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to