/*
 *  test_cvi.sli
 *
 *  This file is part of NEST.
 *
 *  Copyright (C) 2004 The NEST Initiative
 *
 *  NEST is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  NEST is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with NEST.  If not, see <http://www.gnu.org/licenses/>.
 *
 */


/* BeginDocumentation
Name: testsuite::test_cvi - check if cvi function works

Synopsis: (test_cvi) run -> 

Description:

Tests basic properties of cvi. Note that the tests
are directly compiled from the the Examples section of
the documentation which is evaluated by the command 
/validate .
Future versions of NEST should generate this test 
directly from the Examples section.

Author:  130610, Diesmann
SeeAlso: floor, round
*/

(unittest) run
/unittest using

M_ERROR setverbosity

3.33 cvi       3   eq  assert_or_die
2    cvi       2   eq  assert_or_die
(23) cvi      23   eq  assert_or_die
(23.2323) cvi 23   eq  assert_or_die
(hello) cvi    0   eq  assert_or_die






