ENABLE_TESTING()
ADD_TEST(wbtest_speye_1 ${FreeMat_Loc} "-e" "-nogui" "-t" "-nogreet" "-p" "${CMAKE_SOURCE_DIR}/tests/sparse" "-f" "wb_test('@$exact#y1=speye(5000)','wbtest_speye_1','${CMAKE_SOURCE_DIR}/tests/reference')")
ADD_TEST(wbtest_speye_2 ${FreeMat_Loc} "-e" "-nogui" "-t" "-nogreet" "-p" "${CMAKE_SOURCE_DIR}/tests/sparse" "-f" "wb_test('@$exact#z=speye(5000);y1=full(z(1:10,1:10))','wbtest_speye_2','${CMAKE_SOURCE_DIR}/tests/reference')")
ADD_TEST(test_sparse1 ${FreeMat_Loc} "-e" "-nogui" "-t" "-nogreet" "-p" "${CMAKE_SOURCE_DIR}/tests/sparse" "-f" "wrap_test('test_sparse1')")
ADD_TEST(test_sparse2 ${FreeMat_Loc} "-e" "-nogui" "-t" "-nogreet" "-p" "${CMAKE_SOURCE_DIR}/tests/sparse" "-f" "wrap_test('test_sparse2')")
ADD_TEST(test_sparse3 ${FreeMat_Loc} "-e" "-nogui" "-t" "-nogreet" "-p" "${CMAKE_SOURCE_DIR}/tests/sparse" "-f" "wrap_test('test_sparse3')")
ADD_TEST(test_sparse4 ${FreeMat_Loc} "-e" "-nogui" "-t" "-nogreet" "-p" "${CMAKE_SOURCE_DIR}/tests/sparse" "-f" "wrap_test('test_sparse4')")
ADD_TEST(test_sparse5 ${FreeMat_Loc} "-e" "-nogui" "-t" "-nogreet" "-p" "${CMAKE_SOURCE_DIR}/tests/sparse" "-f" "wrap_test('test_sparse5')")
ADD_TEST(test_sparse6 ${FreeMat_Loc} "-e" "-nogui" "-t" "-nogreet" "-p" "${CMAKE_SOURCE_DIR}/tests/sparse" "-f" "wrap_test('test_sparse6')")
ADD_TEST(test_sparse7 ${FreeMat_Loc} "-e" "-nogui" "-t" "-nogreet" "-p" "${CMAKE_SOURCE_DIR}/tests/sparse" "-f" "wrap_test('test_sparse7')")
ADD_TEST(test_sparse8 ${FreeMat_Loc} "-e" "-nogui" "-t" "-nogreet" "-p" "${CMAKE_SOURCE_DIR}/tests/sparse" "-f" "wrap_test('test_sparse8')")
ADD_TEST(test_sparse9 ${FreeMat_Loc} "-e" "-nogui" "-t" "-nogreet" "-p" "${CMAKE_SOURCE_DIR}/tests/sparse" "-f" "wrap_test('test_sparse9')")
ADD_TEST(test_sparse10 ${FreeMat_Loc} "-e" "-nogui" "-t" "-nogreet" "-p" "${CMAKE_SOURCE_DIR}/tests/sparse" "-f" "wrap_test('test_sparse10')")
ADD_TEST(test_sparse11 ${FreeMat_Loc} "-e" "-nogui" "-t" "-nogreet" "-p" "${CMAKE_SOURCE_DIR}/tests/sparse" "-f" "wrap_test('test_sparse11')")
ADD_TEST(test_sparse12 ${FreeMat_Loc} "-e" "-nogui" "-t" "-nogreet" "-p" "${CMAKE_SOURCE_DIR}/tests/sparse" "-f" "wrap_test('test_sparse12')")
ADD_TEST(test_sparse13 ${FreeMat_Loc} "-e" "-nogui" "-t" "-nogreet" "-p" "${CMAKE_SOURCE_DIR}/tests/sparse" "-f" "wrap_test('test_sparse13')")
ADD_TEST(test_sparse14 ${FreeMat_Loc} "-e" "-nogui" "-t" "-nogreet" "-p" "${CMAKE_SOURCE_DIR}/tests/sparse" "-f" "wrap_test('test_sparse14')")
ADD_TEST(test_sparse15 ${FreeMat_Loc} "-e" "-nogui" "-t" "-nogreet" "-p" "${CMAKE_SOURCE_DIR}/tests/sparse" "-f" "wrap_test('test_sparse15')")
ADD_TEST(test_sparse16 ${FreeMat_Loc} "-e" "-nogui" "-t" "-nogreet" "-p" "${CMAKE_SOURCE_DIR}/tests/sparse" "-f" "wrap_test('test_sparse16')")
ADD_TEST(test_sparse17 ${FreeMat_Loc} "-e" "-nogui" "-t" "-nogreet" "-p" "${CMAKE_SOURCE_DIR}/tests/sparse" "-f" "wrap_test('test_sparse17')")
ADD_TEST(test_sparse18 ${FreeMat_Loc} "-e" "-nogui" "-t" "-nogreet" "-p" "${CMAKE_SOURCE_DIR}/tests/sparse" "-f" "wrap_test('test_sparse18')")
ADD_TEST(test_sparse19 ${FreeMat_Loc} "-e" "-nogui" "-t" "-nogreet" "-p" "${CMAKE_SOURCE_DIR}/tests/sparse" "-f" "wrap_test('test_sparse19')")
ADD_TEST(test_sparse22 ${FreeMat_Loc} "-e" "-nogui" "-t" "-nogreet" "-p" "${CMAKE_SOURCE_DIR}/tests/sparse" "-f" "wrap_test('test_sparse22')")
ADD_TEST(test_sparse23 ${FreeMat_Loc} "-e" "-nogui" "-t" "-nogreet" "-p" "${CMAKE_SOURCE_DIR}/tests/sparse" "-f" "wrap_test('test_sparse23')")
ADD_TEST(test_sparse24 ${FreeMat_Loc} "-e" "-nogui" "-t" "-nogreet" "-p" "${CMAKE_SOURCE_DIR}/tests/sparse" "-f" "wrap_test('test_sparse24')")
ADD_TEST(test_sparse25 ${FreeMat_Loc} "-e" "-nogui" "-t" "-nogreet" "-p" "${CMAKE_SOURCE_DIR}/tests/sparse" "-f" "wrap_test('test_sparse25')")
ADD_TEST(test_sparse26 ${FreeMat_Loc} "-e" "-nogui" "-t" "-nogreet" "-p" "${CMAKE_SOURCE_DIR}/tests/sparse" "-f" "wrap_test('test_sparse26')")
ADD_TEST(test_sparse27 ${FreeMat_Loc} "-e" "-nogui" "-t" "-nogreet" "-p" "${CMAKE_SOURCE_DIR}/tests/sparse" "-f" "wrap_test('test_sparse27')")
ADD_TEST(test_sparse28 ${FreeMat_Loc} "-e" "-nogui" "-t" "-nogreet" "-p" "${CMAKE_SOURCE_DIR}/tests/sparse" "-f" "wrap_test('test_sparse28')")
ADD_TEST(test_sparse29 ${FreeMat_Loc} "-e" "-nogui" "-t" "-nogreet" "-p" "${CMAKE_SOURCE_DIR}/tests/sparse" "-f" "wrap_test('test_sparse29')")
ADD_TEST(test_sparse30 ${FreeMat_Loc} "-e" "-nogui" "-t" "-nogreet" "-p" "${CMAKE_SOURCE_DIR}/tests/sparse" "-f" "wrap_test('test_sparse30')")
ADD_TEST(test_sparse31 ${FreeMat_Loc} "-e" "-nogui" "-t" "-nogreet" "-p" "${CMAKE_SOURCE_DIR}/tests/sparse" "-f" "wrap_test('test_sparse31')")
ADD_TEST(test_sparse32 ${FreeMat_Loc} "-e" "-nogui" "-t" "-nogreet" "-p" "${CMAKE_SOURCE_DIR}/tests/sparse" "-f" "wrap_test('test_sparse32')")
ADD_TEST(test_sparse33 ${FreeMat_Loc} "-e" "-nogui" "-t" "-nogreet" "-p" "${CMAKE_SOURCE_DIR}/tests/sparse" "-f" "wrap_test('test_sparse33')")
ADD_TEST(test_sparse34 ${FreeMat_Loc} "-e" "-nogui" "-t" "-nogreet" "-p" "${CMAKE_SOURCE_DIR}/tests/sparse" "-f" "wrap_test('test_sparse34')")
ADD_TEST(test_sparse35 ${FreeMat_Loc} "-e" "-nogui" "-t" "-nogreet" "-p" "${CMAKE_SOURCE_DIR}/tests/sparse" "-f" "wrap_test('test_sparse35')")
ADD_TEST(test_sparse36 ${FreeMat_Loc} "-e" "-nogui" "-t" "-nogreet" "-p" "${CMAKE_SOURCE_DIR}/tests/sparse" "-f" "wrap_test('test_sparse36')")
ADD_TEST(test_sparse62 ${FreeMat_Loc} "-e" "-nogui" "-t" "-nogreet" "-p" "${CMAKE_SOURCE_DIR}/tests/sparse" "-f" "wrap_test('test_sparse62')")
ADD_TEST(test_sparse57 ${FreeMat_Loc} "-e" "-nogui" "-t" "-nogreet" "-p" "${CMAKE_SOURCE_DIR}/tests/sparse" "-f" "wrap_test('test_sparse57')")
ADD_TEST(test_sparse45 ${FreeMat_Loc} "-e" "-nogui" "-t" "-nogreet" "-p" "${CMAKE_SOURCE_DIR}/tests/sparse" "-f" "wrap_test('test_sparse45')")
