~logan/ubuntu/trusty/suitesparse/4.2.1-3ubuntu1

« back to all changes in this revision

Viewing changes to CXSparse_newfiles/MATLAB/Test/testall.m

  • Committer: Bazaar Package Importer
  • Author(s): Rafael Laboissiere, Rafael Laboissiere, Ondrej Certik
  • Date: 2008-02-21 14:46:50 UTC
  • mfrom: (1.1.2 upstream) (5.1.1 hardy)
  • Revision ID: james.westby@ubuntu.com-20080221144650-tgeppgj0t7s759i8
Tags: 3.1.0-3
[ Rafael Laboissiere ]
* Upload to unstable

[ Ondrej Certik ]
* XS-DM-Upload-Allowed: yes field added
* Ondrej Certik added to uploaders

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
%   Copyright 2006-2007, Timothy A. Davis.
9
9
%   http://www.cise.ufl.edu/research/sparse
10
10
 
11
 
clear all
12
 
clear functions
 
11
h = waitbar (0, 'CXSparse') ;
 
12
 
13
13
cs_test_make        % compile all CSparse, Demo, Text, and Test mexFunctions
14
14
 
15
 
fprintf ('\n------------------------ test1  \n') ; test1  ;
16
 
fprintf ('\n------------------------ test2  \n') ; test2  ;
17
 
fprintf ('\n------------------------ test3  \n') ; test3  ;
18
 
fprintf ('\n------------------------ test4  \n') ; test4  ;
19
 
fprintf ('\n------------------------ test5  \n') ; test5  ;
20
 
fprintf ('\n------------------------ test6  \n') ; test6  ;
21
 
fprintf ('\n------------------------ test7  \n') ; test7  ;
22
 
fprintf ('\n------------------------ test8  \n') ; test8  ;
23
 
fprintf ('\n------------------------ test9  \n') ; test9  ;
24
 
fprintf ('\n------------------------ test10 \n') ; test10 ;
25
 
fprintf ('\n------------------------ test11 \n') ; test11 ;
26
 
fprintf ('\n------------------------ test12 \n') ; test12 ;
27
 
fprintf ('\n------------------------ test13 \n') ; test13 ;
28
 
fprintf ('\n------------------------ test14 \n') ; test14 ;
29
 
fprintf ('\n------------------------ test15 \n') ; test15 ;
30
 
fprintf ('\n------------------------ test16 \n') ; test16 ;
31
 
fprintf ('\n------------------------ test17 \n') ; test17 ;
32
 
fprintf ('\n------------------------ test18 \n') ; test18 ;
33
 
fprintf ('\n------------------------ test19 \n') ; test19 ;
34
 
fprintf ('\n------------------------ test20 \n') ; test20 ;
35
 
fprintf ('\n------------------------ test21 \n') ; test21 ;
36
 
fprintf ('\n------------------------ test22 \n') ; test22 ;
37
 
fprintf ('\n------------------------ test23 \n') ; test23 ;
38
 
fprintf ('\n------------------------ test24 \n') ; test24 ;
39
 
fprintf ('\n------------------------ test25 \n') ; test25 ;
40
 
fprintf ('\n------------------------ test26 \n') ; test26 ;
41
 
fprintf ('\n------------------------ test27 \n') ; test27 ;
42
 
fprintf ('\n------------------------ test28 \n') ; test28 ;
43
 
fprintf ('\n------------------------ test_qr\n') ; test_qr ;
 
15
ntests = 29 ;
 
16
 
 
17
testwait (1,  ntests, h) ; test1  ;
 
18
testwait (2,  ntests, h) ; test2  ;
 
19
testwait (3,  ntests, h) ; test3  ;
 
20
testwait (4,  ntests, h) ; test4  ;
 
21
testwait (5,  ntests, h) ; test5  ;
 
22
testwait (6,  ntests, h) ; test6  ;
 
23
testwait (7,  ntests, h) ; test7  ;
 
24
testwait (8,  ntests, h) ; test8  ;
 
25
testwait (9,  ntests, h) ; test9  ;
 
26
testwait (10, ntests, h) ; test10 ;
 
27
testwait (11, ntests, h) ; test11 ;
 
28
testwait (12, ntests, h) ; test12 ;
 
29
testwait (13, ntests, h) ; test13 ;
 
30
testwait (14, ntests, h) ; test14 ;
 
31
testwait (15, ntests, h) ; test15 ;
 
32
testwait (16, ntests, h) ; test16 ;
 
33
testwait (17, ntests, h) ; test17 ;
 
34
testwait (18, ntests, h) ; test18 ;
 
35
testwait (19, ntests, h) ; test19 ;
 
36
testwait (20, ntests, h) ; test20 ;
 
37
testwait (21, ntests, h) ; test21 ;
 
38
testwait (22, ntests, h) ; test22 ;
 
39
testwait (23, ntests, h) ; test23 ;
 
40
testwait (24, ntests, h) ; test24 ;
 
41
testwait (25, ntests, h) ; test25 ;
 
42
testwait (26, ntests, h) ; test26 ;
 
43
testwait (27, ntests, h) ; test27 ;
 
44
testwait (28, ntests, h) ; test28 ;
 
45
testwait (29, ntests, h) ; test_qr ;
 
46
 
 
47
close (h)
 
48
 
 
49
function testwait (n,ntests,h)
 
50
fprintf ('\n------------------------ test%d\n', n) ;
 
51
waitbar (n/(ntests+1), h, sprintf ('CXSparse test %d of %d\n', n, ntests)) ;
 
52