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

« back to all changes in this revision

Viewing changes to RBio/Test/testRB2.m

  • Committer: Bazaar Package Importer
  • Author(s): Christophe Prud'homme
  • Date: 2007-05-29 09:36:29 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070529093629-zowquo0b7slkk6nc
Tags: 3.0.0-2
* suitesparse builds properly twice in a row
* Bug fix: "suitesparse - FTBFS: Broken build depens: libgfortran1-dev",
  thanks to Bastian Blank (Closes: #426349).
* Bug fix: "suitesparse_3.0.0-1: FTBFS: build-depends on
  libgfortran1-dev", thanks to Steve Langasek (Closes: #426354).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
function testRB2
2
2
%testRB2: test the RBio toolbox.  UFget is required.
3
 
% Note that UFget requires the Nov 25, 2006, revision of the UF_Index.mat file, or later,
4
 
% to access all the Problems used by this test.
 
3
% Note that UFget requires the Nov 25, 2006, revision of the UF_Index.mat file,
 
4
% or later, to access all the Problems used by this test.
5
5
%
6
6
% Example:
7
7
%   testRB2
10
10
 
11
11
% Copyright 2006, Timothy A. Davis
12
12
 
13
 
Problem = UFget ('Meszaros/farm')
 
13
Problem = UFget ('Meszaros/farm') ;
 
14
disp (Problem) ;
14
15
A = RBread ('farm.rb') ;
15
16
if (~isequal (A, Problem.A))
16
17
    error ('test failure: farm.rb') ;
17
18
end
18
19
fprintf ('mtype: %s\n', RBtype (A)) ;
19
20
 
20
 
Problem = UFget ('HB/bcsstk01')
 
21
Problem = UFget ('HB/bcsstk01') ;
 
22
disp (Problem) ;
21
23
A = RBread ('bcsstk01.rb') ;
22
24
if (~isequal (A, Problem.A))
23
25
    error ('test failure: bcsstk01.rb') ;
24
26
end
25
27
fprintf ('mtype: %s\n', RBtype (A)) ;
26
28
 
27
 
Problem = UFget ('HB/lap_25')
 
29
Problem = UFget ('HB/lap_25') ;
 
30
disp (Problem) ;
28
31
A = RBread ('lap_25.rb') ;
29
32
if (~isequal (A, Problem.A))
30
33
    error ('test failure: lap_25.rb') ;
35
38
end
36
39
fprintf ('mtype: %s\n', RBtype (A)) ;
37
40
 
38
 
Problem = UFget ('HB/west0479')
 
41
Problem = UFget ('HB/west0479') ;
 
42
disp (Problem) ;
39
43
[A Z] = RBread ('west0479.rb') ;
40
44
if (~isequal (A, Problem.A))
41
45
    error ('test failure: west0479.rb') ;