~ubuntu-branches/ubuntu/raring/scilab/raring-proposed

« back to all changes in this revision

Viewing changes to modules/sparse/tests/nonreg_tests/bug_4654.tst

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2012-08-30 14:42:38 UTC
  • mfrom: (1.4.7)
  • Revision ID: package-import@ubuntu.com-20120830144238-c1y2og7dbm7m9nig
Tags: 5.4.0-beta-3-1~exp1
* New upstream release
* Update the scirenderer dep
* Get ride of libjhdf5-java dependency

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
// =============================================================================
2
2
// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3
3
// Copyright (C) 2009 - DIGITEO - Yann COLLETTE <yann.collette@scilab.fr>
 
4
// Copyright (C) 2012 - Scilab Enterprises - Adeline CARNIS
4
5
//
5
6
//  This file is distributed under the same license as the Scilab package.
6
7
// =============================================================================
17
18
 
18
19
[v, ij] = max(sprand(50,50,0));
19
20
 
20
 
if v~=0 then pause,end
21
 
if ~isempty(ij) then pause,end
 
21
assert_checkequal(v, 0);
 
22
assert_checkequal(ij, [1 1]);