added unit-tests for existing functions. and prelimenary docstrings

This commit is contained in:
sccolbert
2009-10-11 23:51:37 +02:00
parent 310d501655
commit 3205bb1f06
27 changed files with 821 additions and 504 deletions
+2 -1
View File
@@ -31,4 +31,5 @@ cdef int assert_like(np.ndarray arr1, np.ndarray arr2) except -1
cdef int assert_not_sharing_data(np.ndarray arr1, np.ndarray arr2) except -1
cdef np.ndarray new_array(int ndim, np.npy_intp* shape, dtype)
cdef np.ndarray new_array_like(np.ndarray arr)
cdef np.ndarray new_array_like_diff_dtype(np.ndarray arr, dtype)
cdef np.ndarray new_array_like_diff_dtype(np.ndarray arr, dtype)
cdef CvPoint2D32f* as_2Dpoint_array(np.ndarray arr)