Boost logo

Boost :

From: Jens Maurer (Jens.Maurer_at_[hidden])
Date: 2001-02-05 16:05:31


Doug Gregor wrote:
> There is a small set of tests here:
> http://groups.yahoo.com/group/boost/files/lambda/Win32%20Port/tuple_test.cpp
>
> More testcases are forthcoming.

The header file looks clean now, except that I had to reverse the
print_tuple definitions around line 381 of tuple.hpp, so that the
nil overload comes before the template.

A hint for doing tests: Please write them (at least) in the form
assert(x == y), e.g.
  assert(t1.head == 5 && t1.tail.head == 3 && t1...)
for easier integration in the boost regression test suite. Outputs
to std::cout are unsuitable for the current regression tests.

Jens Maurer


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk