Fresco/Fresco-Test/syunit-c++/include TestCase.hh,1.4,1.5
Nathaniel Smith <[email protected]> Sun, 01 Jun 2003 17:56:40 -0500
| Newsgroups | gmane.comp.video.fresco.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvs/fresco/Fresco/Fresco-Test/syunit-c++/include
In directory purcel:/tmp/cvs-serv28361/Fresco-Test/syunit-c++/include
Modified Files:
TestCase.hh
Log Message:
Random little commit to test the CIA bot.
Index: TestCase.hh
===================================================================
RCS file: /cvs/fresco/Fresco/Fresco-Test/syunit-c++/include/TestCase.hh,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- TestCase.hh 20 May 2003 09:06:26 -0000 1.4
+++ TestCase.hh 1 Jun 2003 22:56:38 -0000 1.5
@@ -49,6 +49,10 @@
const std::string msg = "assert_equals failed")
{ if (! (s == t) ) fail(msg); }
+ // Should modify this to use a real floating point comparision -- see,
+ // e.g.,
+ // http://www.boost.org/libs/test/doc/floating_point_comparison.htm ,
+ // and its references.
void
assert_equals_delta(double x, double y, double epsilon,
const std::string msg =
@@ -82,7 +86,10 @@
void
assert_equals(double, double, const std::string = "");
-
+
+ // FIXME: implement this
+// void
+// checkpoint(const std::string msg);
};
class InterfaceTestCase : public TestCase {};