mirror of
https://github.com/minetest/irrlicht.git
synced 2024-11-05 01:40:44 +01:00
Update irrString test due to split changes in r6007
We keep separators now in their own tokens. git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6013 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
parent
3280b3319e
commit
28725e137a
|
@ -20,9 +20,9 @@ static bool testSplit()
|
|||
core::stringw teststring(L"[b]this [/b] is a [color=0xff000000]test[/color].");
|
||||
core::list<core::stringw> parts1;
|
||||
teststring.split<core::list<core::stringw> >(parts1, L"[");
|
||||
core::list<core::stringw> parts2;
|
||||
teststring.split<core::list<core::stringw> >(parts2, L"[", 1, false, true);
|
||||
return (parts1.getSize()==4) && (parts2.getSize()==5);
|
||||
core::array<core::stringw> parts2;
|
||||
teststring.split<core::array<core::stringw> >(parts2, L"[", 1, false, true);
|
||||
return (parts1.size()==4) && (parts2.size()==9);
|
||||
}
|
||||
|
||||
static bool testFastAlloc()
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Tests finished. 72 tests of 72 passed.
|
||||
Compiled as DEBUG
|
||||
Test suite pass at GMT Thu Dec 12 14:36:27 2019
|
||||
Test suite pass at GMT Mon Dec 16 16:50:00 2019
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user