+2003-07-02 Paolo Carlini <pcarlini@unitus.it>
+
+ * testsuite/22_locale/num_put/put/char/7.cc: Include
+ <testsuite_hooks.h>, tweak.
+ * testsuite/22_locale/num_put/put/wchar_t/7.cc: Likewise.
+
2003-07-01 Phil Edwards <pme@gcc.gnu.org>
* testsuite/Makefile.am (AM_MAKEFLAGS): Set to -j1 (affects
// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
// USA.
+#include <sstream>
#include <iostream>
#include <locale>
+#include <testsuite_hooks.h>
// libstdc++/9828
void test01()
{
using namespace std;
+ bool test = true;
+
typedef num_put<char> np_t;
ostringstream stream;
const np_t& np = use_facet<np_t>(stream.getloc());
np.put(stream, wcout, ' ', static_cast<long>(10));
- VERIFY( stream.str() == ' ');
+ VERIFY( stream.str() == "10" );
}
int main()
#include <sstream>
#include <iostream>
#include <locale>
+#include <testsuite_hooks.h>
// libstdc++/9828
void test01()
{
using namespace std;
+ bool test = true;
+
typedef num_put<wchar_t> npw_t;
wostringstream stream;
const npw_t& npw = use_facet<npw_t>(stream.getloc());
npw.put(stream, cout, L' ', static_cast<long>(10));
- VERIFY( stream.str() == L' ');
+ VERIFY( stream.str() == L"10" );
}
int main()