Beispiel #1
0
int main()
{
    test_single_functions();
    test_decimal(123);
    test_decimal(-123);
    test_unsigned();
    test_hex();
    test_narrow();
    test_string();

    return 0;
}
Beispiel #2
0
bool test_write_narrow(pugi::xml_node node, unsigned int flags, pugi::xml_encoding encoding, const char* expected, size_t length)
{
	return test_narrow(write_narrow(node, flags, encoding), expected, length);
}
Beispiel #3
0
bool test_save_narrow(const pugi::xml_document& doc, unsigned int flags, pugi::xml_encoding encoding, const char* expected, size_t length)
{
	return test_narrow(save_narrow(doc, flags, encoding), expected, length);
}