summaryrefslogtreecommitdiffstats
path: root/modules/ast/tests/nonreg_tests/bug_16667.tst
blob: 486c6848c314f445511edacbb02eb81703ac911b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// =============================================================================
// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C) 2021 - St├ęphane MOTTELET
//
//  This file is distributed under the same license as the Scilab package.
// =============================================================================
//
// <-- CLI SHELL MODE -->
// <-- NO CHECK REF -->
//
// <-- Non-regression test for bug 16667 -->
//
// <-- Bugzilla URL -->
// http://bugzilla.scilab.org/16667
//
// <-- Short Description -->
// ./ is broken for a RHS having 0 (recent regression. 6.1.0 was OK)

assert_checkequal(1./[1 0],[1 %inf])
assert_checkequal(1./[1 -0],[1 -%inf])