There is a commented out test that may be useful in this context, test_growcut_cython_equality. 

https://github.com/nfaggian/growcut/blob/master/growcut/tests/test_growcut.py