示例#1
0
文件: zprint_test.c 项目: fs495/avr
int main()
{
    test_single_functions();
    test_decimal(123);
    test_decimal(-123);
    test_unsigned();
    test_hex();
    test_narrow();
    test_string();

    return 0;
}
示例#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);
}
示例#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);
}