summaryrefslogtreecommitdiffstats
path: root/scilab/modules/data_structures/tests/nonreg_tests/bug_6988.dia.ref
blob: cb0bd1088eb7e222c9c94d00be10581d984b54c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// =============================================================================
// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C) 2013 - Scilab Enterprises - Charlotte HECQUET
//
//  This file is distributed under the same license as the Scilab package.
// =============================================================================
// <-- CLI SHELL MODE -->
// <-- Non-regression test for bug 6988 -->
//
// <-- Bugzilla URL -->
// http://bugzilla.scilab.org/show_bug.cgi?id=6988
//
// <-- Short Description -->
// Error messages in modules/data_structures/src/c/hmops.c are not standard.
M = hypermat([2 3 2 2],1:24)
M  = 
(:,:,1,1)
    1.    3.    5.
    2.    4.    6.
(:,:,2,1)
    7.    9.     11.
    8.    10.    12.
(:,:,1,2)
    13.    15.    17.
    14.    16.    18.
(:,:,2,2)
    19.    21.    23.
    20.    22.    24.
errmsg1=msprintf(_("Invalid index.\n"));
assert_checkerror("M(:,:,1,2,3)",errmsg1);