コード例 #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
ファイル: writer_string.cpp プロジェクト: AlgoPeek/pugixml
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
ファイル: writer_string.cpp プロジェクト: AlgoPeek/pugixml
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);
}