mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 02:18:04 +01:00
added basic tests for Latin2, Latin9, Windows-1250, Windows-1251, Windows-1252
This commit is contained in:
@@ -252,11 +252,11 @@ void CoreTest::testBuffer()
|
||||
Buffer<int> f = e;
|
||||
assert (f == e);
|
||||
|
||||
buffer<char> g;
|
||||
Buffer<char> g(0);
|
||||
g.append("hello", 5);
|
||||
assert (g.size() == 5);
|
||||
|
||||
g.append(g);
|
||||
g.append("hello", 5);
|
||||
assert (g.size() == 10);
|
||||
assert ( !memcmp(g.begin(), "hellohello", 10) );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user