1 // =============================================================================
2 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 // Copyright (C) 2013 - Scilab Enterprises - Clément DAVID
5 // This file is distributed under the same license as the Scilab package.
6 // =============================================================================
10 // <-- Non-regression test for bug 12057 -->
12 // <-- Bugzilla URL -->
13 // http://bugzilla.scilab.org/show_bug.cgi?id=12057
15 // <-- Short Description -->
16 // Scopes with big scope buffer size simulation was much more slower.
18 // This test check cscope and cmscope huge-buffer (more than 4k points)
21 assert_checktrue(importXcosDiagram(SCI + "/modules/xcos/tests/nonreg_tests/bug_12057_cscope.xcos"));
23 xcos_simulate(scs_m, 4);
26 assert_checktrue(t < 60);
28 assert_checktrue(importXcosDiagram(SCI + "/modules/xcos/tests/nonreg_tests/bug_12057_cmscope.xcos"));
30 xcos_simulate(scs_m, 4);
33 assert_checktrue(t < 60);