1 // =============================================================================
2 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 // Copyright (C) 2017 - Samuel GOUGEON
5 // This file is distributed under the same license as the Scilab package.
6 // =============================================================================
7 // <-- CLI SHELL MODE -->
8 // <-- NO CHECK REF -->
10 // <-- Non-regression test for bug 12862 -->
12 // <-- Bugzilla URL -->
13 //http://bugzilla.scilab.org/12862
15 // <-- Short Description -->
16 // intsplin() failed for complex ordinates
19 assert_checkequal(intsplin((1:5)*%i), 12*%i);
20 assert_checkequal(intsplin(x, (1:5)*%i), 1.2*%i);
21 assert_checkequal(intsplin(x, x+(1:5)*%i), 0.12 + 1.2*%i);