Re: testing C code with python

2005-11-11 Thread christopherlmarshall
I have recently started using tcl to do this with C++ code and will soon be switching to doing it with python. I think it is a fantastic way to arrange to test C++ and C code. Python makes an excellent test-harness, and writing interfaces for complex units of C++ code to enable them to be tested f

Re: testing C code with python

2005-11-11 Thread Scott David Daniels
>[EMAIL PROTECTED] wrote: > A simple question - Is it common/good practice to test C code using > Python? I certainly do such testing (hand-wrapped, because it doesn't seem to cost too much time to do so. Usually I develop in Python and accumulate my tests there, then write the C equivalent, and

Re: testing C code with python

2005-11-11 Thread Ruben Charles
On 11/10/05, Peter Hansen <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > A simple question - Is it common/good practice to test C code using > > Python? For example one could wrap individual C functions, and test > > each of them using python, maybe not for low-level things but at least

Re: testing C code with python

2005-11-10 Thread Peter Hansen
[EMAIL PROTECTED] wrote: > A simple question - Is it common/good practice to test C code using > Python? For example one could wrap individual C functions, and test > each of them using python, maybe not for low-level things but at least > for algorithmic correctness. Anyone effectively doing this

testing C code with python

2005-11-10 Thread Bilgehan . Balban
Hi, A simple question - Is it common/good practice to test C code using Python? For example one could wrap individual C functions, and test each of them using python, maybe not for low-level things but at least for algorithmic correctness. Anyone effectively doing this as common practice? Thanks,