File: testall.m

package info (click to toggle)
suitesparse-metis 3.1.0-2
  • links: PTS, VCS
  • area: contrib
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 36,560 kB
  • ctags: 7,484
  • sloc: ansic: 104,515; makefile: 5,984; fortran: 4,591; sh: 1,397; csh: 739; ruby: 603; perl: 219; sed: 164; awk: 18
file content (51 lines) | stat: -rw-r--r-- 1,514 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
function testall
%TESTALL test all CSparse functions (run tests 1 to 28 below)
%
% Example:
%   testall
% See also: cs_demo

%   Copyright 2006-2007, Timothy A. Davis.
%   http://www.cise.ufl.edu/research/sparse

h = waitbar (0, 'CSparse') ;

cs_test_make	    % compile all CSparse, Demo, Text, and Test mexFunctions

ntests = 28 ;

testwait (1,  ntests, h) ; test1  ;
testwait (2,  ntests, h) ; test2  ;
testwait (3,  ntests, h) ; test3  ;
testwait (4,  ntests, h) ; test4  ;
testwait (5,  ntests, h) ; test5  ;
testwait (6,  ntests, h) ; test6  ;
testwait (7,  ntests, h) ; test7  ;
testwait (8,  ntests, h) ; test8  ;
testwait (9,  ntests, h) ; test9  ;
testwait (10, ntests, h) ; test10 ;
testwait (11, ntests, h) ; test11 ;
testwait (12, ntests, h) ; test12 ;
testwait (13, ntests, h) ; test13 ;
testwait (14, ntests, h) ; test14 ;
testwait (15, ntests, h) ; test15 ;
testwait (16, ntests, h) ; test16 ;
testwait (17, ntests, h) ; test17 ;
testwait (18, ntests, h) ; test18 ;
testwait (19, ntests, h) ; test19 ;
testwait (20, ntests, h) ; test20 ;
testwait (21, ntests, h) ; test21 ;
testwait (22, ntests, h) ; test22 ;
testwait (23, ntests, h) ; test23 ;
testwait (24, ntests, h) ; test24 ;
testwait (25, ntests, h) ; test25 ;
testwait (26, ntests, h) ; test26 ;
testwait (27, ntests, h) ; test27 ;
testwait (28, ntests, h) ; test28 ;

close (h)

function testwait (n,ntests,h)
fprintf ('\n------------------------ test%d\n', n) ;
waitbar (n/(ntests+1), h, sprintf ('CSparse test %d of %d\n', n, ntests)) ;