Duplicate tests that are run twice as both C and C++ tests to fix parallel make: li_carrays

This commit is contained in:
William S Fulton 2016-02-21 14:47:25 +00:00
commit 9600c95234
11 changed files with 320 additions and 1 deletions

View file

@ -0,0 +1,11 @@
exec("swigtest.start", -1);
d = new_intArray(10);
intArray_setitem(d, 0, 7);
intArray_setitem(d, 5, intArray_getitem(d, 0) + 3);
checkequal(intArray_getitem(d, 5) + intArray_getitem(d, 0), 17, "d(5) + d(0) <> 17");
exec("swigtest.quit", -1);