- Made unit tests compile nad run again.

- Removed tests from distibution.
This commit is contained in:
Paul Beckingham 2008-05-17 22:46:50 -04:00
parent 42493dbdee
commit 0b37b6a980
5 changed files with 286 additions and 30 deletions

24
src/tests/test.h Normal file
View file

@ -0,0 +1,24 @@
////////////////////////////////////////////////////////////////////////////////
// Copyright 2007, 2008, Paul Beckingham. All rights reserved.
//
////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_TEST
#define INCLUDED_TEST
#include <string>
void plan (int);
void ok (bool, const std::string&);
void notok (bool, const std::string&);
void is (bool, bool, const std::string&);
void is (int, int, const std::string&);
void is (size_t, size_t, const std::string&);
void is (double, double, const std::string&);
void is (char, char, const std::string&);
void is (const std::string&, const std::string&, const std::string&);
void diag (const std::string&);
void fail (const std::string&);
void pass (const std::string&);
#endif
////////////////////////////////////////////////////////////////////////////////