#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"
Go to the source code of this file.
Defines | |
#define | ERR_OUT(e) |
#define | TEST(code) |
Functions | |
void | test (void) |
int | main (int argc, char const *argv[]) |
#define ERR_OUT | ( | e | ) |
Definition at line 15 of file test-strfmt-002.cc.
#define TEST | ( | code | ) |
try { \ code; \ } \ catch(error e) { \ ERR_OUT(e); \ thrown = true; \ } \ catch(...) { \ assert(0); \ }
Definition at line 17 of file test-strfmt-002.cc.
int main | ( | int | argc, | |
char const * | argv[] | |||
) |
Definition at line 71 of file test-strfmt-002.cc.
References err_unknown, and test().
void test | ( | void | ) |
Definition at line 30 of file test-strfmt-002.cc.
References timer::eta(), percent_string(), timer::start(), and timer::stop().