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 // =============================================================================
9 // <-- Non-regression test for bug 12057 -->
11 // <-- Bugzilla URL -->
12 // http://bugzilla.scilab.org/show_bug.cgi?id=12057
14 // <-- Short Description -->
15 // Scopes with big scope buffer size simulation was much more slower.
17 // This test check cscope and cmscope huge-buffer (more than 4k points)
19 assert_checktrue(importXcosDiagram(SCI + "/modules/xcos/tests/nonreg_tests/bug_12057_cscope.xcos"));
21 xcos_simulate(scs_m, 4);
23 assert_checktrue(t < 60);
24 assert_checktrue(importXcosDiagram(SCI + "/modules/xcos/tests/nonreg_tests/bug_12057_cmscope.xcos"));
26 xcos_simulate(scs_m, 4);
28 assert_checktrue(t < 60);