Boost Users :
From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2005-01-29 10:55:23
> std::cout << obj.fn()
> gives me "76" and
> BOOST_CHECK_EQUAL(obj.fn), true)
> fails, with the message
> Any suggestions?
I do not know what is going on with your bool. But I would suggest using
BOOST_CHECK tool instead for checking result of a function returning bool.
In this case it wouldn't matter if true is 1234 in fact.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net