src/impulse.h File Reference

#include <map>
#include "core/value.h"
#include "core/frame.h"
#include "protos/stream.h"
#include "core/value_inline.h"
#include "core/frame_inline.h"

Go to the source code of this file.

Classes

class  impulse::UnitTest

Namespaces

namespace  impulse

Defines

#define DEBUG
#define BEG(string)   trace << &(spaces[60 - indent]) << "> " << string << endl; indent += 3;
#define END(string)   indent -= 3; trace << &(spaces[60 - indent]) << "< " << string << endl
#define TRACE(string)   trace << &(spaces[60 - indent]) << string << endl;
#define ASSERT(code)
#define OUTPUT(string)   cout << string << endl


Define Documentation

#define DEBUG

#define BEG ( string   )     trace << &(spaces[60 - indent]) << "> " << string << endl; indent += 3;

#define END ( string   )     indent -= 3; trace << &(spaces[60 - indent]) << "< " << string << endl

#define TRACE ( string   )     trace << &(spaces[60 - indent]) << string << endl;

#define ASSERT ( code   ) 

Value:

cout << ((code) ?   \
 "\x1b[32mpass\x1b[0m" : "\x1b[31mfail\x1b[0m") << " " << #code << endl

#define OUTPUT ( string   )     cout << string << endl


Generated on Wed May 13 20:04:19 2009 for impulse by  doxygen 1.5.8