Clarify what is being tested

This commit is contained in:
Dmitry-Me 2017-08-11 17:39:47 +03:00
parent 4bbf74205c
commit caed4ec7d8
1 changed files with 2 additions and 2 deletions

View File

@ -454,8 +454,8 @@ int main( int argc, const char ** argv )
XMLTest( "Programmatic DOM", 2, doc->FirstChildElement()->LastChildElement( "sub" )->IntAttribute( "attrib" ) );
XMLTest( "Programmatic DOM", "& Text!",
doc->FirstChildElement()->LastChildElement( "sub" )->FirstChild()->ToText()->Value() );
XMLTest("User data", true, &dummyValue == comment->GetUserData(), false);
XMLTest("User data", dummyInitialValue, dummyValue, false);
XMLTest("User data - pointer", true, &dummyValue == comment->GetUserData(), false);
XMLTest("User data - value behind pointer", dummyInitialValue, dummyValue, false);
// And now deletion:
element->DeleteChild( sub[2] );