summaryrefslogtreecommitdiffstats
path: root/tests/nonRegression/bug2410.sci
blob: b9f5c986ff3d06e7ddade389f0b7890127eabc98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// <-- Non-regression test for bug 2410 -->
//
// <-- Bugzilla URL -->
// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2410
//
// <-- Short Description -->
//    string(boolean array) is incredibly slow

// Author : Scilab Project - Pierre MARECHAL
// Copyright INRIA
// Date : 05 mai 2007

tic();
string(zeros(1,10000)==1);
a = toc();

if( a < 0.1 ) then
	affich_result(%T,2410);
else
	affich_result(%F,2410);
end