Added a test class for StringBuilder

This commit is contained in:
Benoît Blanchon
2014-06-26 12:50:48 +02:00
parent 6b61617133
commit 786fe994aa
5 changed files with 44 additions and 2 deletions

View File

@ -15,6 +15,7 @@ public:
StringBuilder(char* buf, size_t size)
: buffer(buf), capacity(size), length(0)
{
buffer[0] = 0;
}
void append(const char* s);