rvm  1.11
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Functions
test-strfmt-001.cc File Reference
#include "config.h"
#include <iostream>
#include <string>
#include <cassert>
#include "types.h"
#include "error.h"
#include "estring.h"
#include "strfmt.h"
#include "rmath.h"
#include "timer.h"
Include dependency graph for test-strfmt-001.cc:

Go to the source code of this file.

Macros

#define ERR_OUT(e)
 
#define TEST(code)
 

Functions

void test (void)
 
int main (int argc, char const *argv[])
 

Macro Definition Documentation

#define ERR_OUT (   e)

Definition at line 15 of file test-strfmt-001.cc.

#define TEST (   code)
Value:
try { \
code; \
} \
catch(error e) { \
ERR_OUT(e); \
thrown = true; \
} \
catch(...) { \
assert(0); \
}
An error class.
Definition: error.h:72
#define ERR_OUT(e)

Definition at line 17 of file test-strfmt-001.cc.

Function Documentation

int main ( int  argc,
char const *  argv[] 
)

Definition at line 71 of file test-strfmt-001.cc.

References err_unknown, and test().

Here is the call graph for this function:

void test ( void  )

Definition at line 30 of file test-strfmt-001.cc.

References timer::eta(), percent_string(), timer::start(), and timer::stop().

Referenced by main().

Here is the call graph for this function: