test suite test string writer
test case basic test()
the writer : string writer • new()
assert the writersize() == 0
assert the writerelements() == ""
the writerwrite all("foo")
assert the writersize() == 3
assert the writerelements() == "foo"
the writerwrite('b')
the writerwrite('a')
the writerwrite('r')
assert the writersize() == 6
assert the writerelements() == "foobar"
elements : the writerelements()
the writerclear()
please assert elements == "foobar"please assert the writersize() == 0please assert the writerelements() == ""