Mercurial > octave-nkf
view test/test_infnan.m @ 6210:12b676a0b183 before-graphics-branch
[project @ 2006-12-07 02:37:17 by jwe]
author | jwe |
---|---|
date | Thu, 07 Dec 2006 02:37:17 +0000 |
parents | 1ad66ea35fe5 |
children | 93c65f2a5668 |
line wrap: on
line source
%% Automatically generated from DejaGNU files %% test/octave.test/infnan/infnan-1.m %!test %! a = Inf; %! assert(!(finite (a))); %% test/octave.test/infnan/infnan-2.m %!test %! a = Inf; %! assert(isinf (a)); %% test/octave.test/infnan/infnan-3.m %!test %! a = Inf; %! assert(!(isnan (a))); %% test/octave.test/infnan/infnan-4.m %!test %! b = NaN; %! assert(!(finite (b))); %% test/octave.test/infnan/infnan-5.m %!test %! b = NaN; %! assert(!(isinf (b))); %% test/octave.test/infnan/infnan-6.m %!test %! b = NaN; %! assert(isnan (b)); %% test/octave.test/infnan/infnan-7.m %!test %! c = rand (); %! assert(finite (c)); %% test/octave.test/infnan/infnan-8.m %!test %! c = rand (); %! assert(!(isinf (c))); %% test/octave.test/infnan/infnan-9.m %!test %! c = rand (); %! assert(!(isnan (c)));