src/test/test_tools.h
changeset 706 0fe42b8ec5a6
parent 574 7b0b12eb603b
child 721 1df9b762269b
equal deleted inserted replaced
0:eb2c469bb850 1:814e5120b0ec
     7 
     7 
     8 
     8 
     9 #include<iostream>
     9 #include<iostream>
    10 #include<vector>
    10 #include<vector>
    11 
    11 
    12 //If \c rc is fail, writes an error message end exit.
    12 ///If \c rc is fail, writes an error message end exit.
    13 
    13 
    14 ///If \c rc is fail, writes an error message end exit.
    14 ///If \c rc is fail, writes an error message end exit.
    15 ///The error message contains the file name and the line number of the
    15 ///The error message contains the file name and the line number of the
    16 ///source code is a standard from, which makes it possible to go there
    16 ///source code in a standard from, which makes it possible to go there
    17 ///using good source browsers like e.g. \c emacs.
    17 ///using good source browsers like e.g. \c emacs.
    18 ///
    18 ///
    19 ///For example
    19 ///For example
    20 ///\code check(0==1,"This is obviously false.");\endcode will
    20 ///\code check(0==1,"This is obviously false.");\endcode will
    21 ///print this (and then exits).
    21 ///print this (and then exits).