This commit is contained in:
jez 2007-08-10 11:28:45 +00:00
parent 5133fdd1e2
commit 584299cf94

View file

@ -29,8 +29,6 @@ class Base64Test : public TestCase
char* out_next = out;
std::codecvt_base::result res = cvt->out(state, in, in+3, in_next, out, out+10, out_next);
// delete cvt;
assertEquals(std::codecvt_base::ok, res);
assertEquals(4, (out_next-out));
assertEquals('#', out[4]);
@ -50,8 +48,6 @@ class Base64Test : public TestCase
char* out_next = out;
std::codecvt_base::result res = cvt->out(state, in, in+4, in_next, out, out+10, out_next);
// delete cvt;
assertEquals(std::codecvt_base::ok, res);
assertEquals(8, (out_next-out));
assertEquals('#', out[8]);
@ -71,8 +67,6 @@ class Base64Test : public TestCase
char* in_next = in;
std::codecvt_base::result res = cvt->in(state, out, out+4, out_next, in, in+10, in_next);
// delete cvt;
assertEquals("ABC", std::string(in, in_next));
assertEquals(3, (in_next-in));
assertEquals('#', in[3]);
@ -92,8 +86,6 @@ class Base64Test : public TestCase
char* in_next = in;
std::codecvt_base::result res = cvt->in(state, out, out+8, out_next, in, in+10, in_next);
// delete cvt;
assertEquals(std::codecvt_base::ok, res);
assertEquals(4, (in_next-in));
assertEquals('#', in[4]);