mirror of https://github.com/AxioDL/tinyxml2.git
testing
This commit is contained in:
parent
e4422304e0
commit
6ee99fc344
BIN
tinyxml2.suo
BIN
tinyxml2.suo
Binary file not shown.
|
@ -29,12 +29,13 @@ int main( int argc, const char* argv )
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
static const char* test[] = { //"<element />",
|
static const char* test[] = { //"<element />",
|
||||||
"<element></element>",
|
// "<element></element>",
|
||||||
|
"<element><subelement/></element>",
|
||||||
0
|
0
|
||||||
};
|
};
|
||||||
for( const char* t=test[0]; *t; ++t ) {
|
for( int i=0; test[i]; ++i ) {
|
||||||
XMLDocument doc;
|
XMLDocument doc;
|
||||||
doc.Parse( t );
|
doc.Parse( test[i] );
|
||||||
doc.Print( stdout );
|
doc.Print( stdout );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue