tardis-sn/tardis — pull request #212 by wkerzendorf (2014-12-12 13:15:35+00:00)
Title: Testing the C-part of tardis

I'm in the process of making a framework that will test the currently untested C-part of TARDIS (the search sorted incident, was a little bit of a wake-up call).

So @ssim, @mklauser and @orbitfold I need your help - in a couple of ways:

After playing around with C unit testing frameworks and realizing that this is more difficult to integrate into `py.test` (our current testing framework), I think we should wrap each function (this takes a minute) and then test them individually. Now there are still some problems, that maybe either @mklauser or @orbitfold can help with:

We want to make one or more mock rpackets and the question is how do we translate them from python to c and back. Maybe something like this: http://markflorisson.wordpress.com/2011/08/23/memoryviews/?