<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
<!ENTITY version SYSTEM "version.xml">
]>
<refentry id="cutter-Assertions">
<refmeta>
<refentrytitle role="top_of_page" id="cutter-Assertions.top_of_page">検証</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>Cutterライブラリ</refmiscinfo>
</refmeta>
<refnamediv>
<refname>検証</refname>
<refpurpose>あなたのプログラムが期待通りに動作しているかを検証します。</refpurpose>
</refnamediv>

<refsect1 id="cutter-Assertions.functions" role="functions_proto">
<title role="functions_proto.title">Functions</title>
<informaltable pgwide="1" frame="none">
<tgroup cols="2">
<colspec colname="functions_return" colwidth="150px"/>
<colspec colname="functions_name"/>
<tbody>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-assert">cut_assert</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-assert-true">cut_assert_true</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-assert-false">cut_assert_false</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-assert-equal-boolean">cut_assert_equal_boolean</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-assert-not-equal-boolean">cut_assert_not_equal_boolean</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-assert-null">cut_assert_null</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-assert-null-string">cut_assert_null_string</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-assert-not-null">cut_assert_not_null</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-assert-equal-int">cut_assert_equal_int</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-assert-not-equal-int">cut_assert_not_equal_int</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-equal-int-least8">cut_assert_equal_int_least8</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-not-equal-int-least8">cut_assert_not_equal_int_least8</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-equal-int-least16">cut_assert_equal_int_least16</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-not-equal-int-least16">cut_assert_not_equal_int_least16</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-equal-int-least32">cut_assert_equal_int_least32</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-not-equal-int-least32">cut_assert_not_equal_int_least32</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-equal-int-least64">cut_assert_equal_int_least64</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-not-equal-int-least64">cut_assert_not_equal_int_least64</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-equal-int-fast8">cut_assert_equal_int_fast8</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-not-equal-int-fast8">cut_assert_not_equal_int_fast8</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-equal-int-fast16">cut_assert_equal_int_fast16</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-not-equal-int-fast16">cut_assert_not_equal_int_fast16</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-equal-int-fast32">cut_assert_equal_int_fast32</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-not-equal-int-fast32">cut_assert_not_equal_int_fast32</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-equal-int-fast64">cut_assert_equal_int_fast64</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-not-equal-int-fast64">cut_assert_not_equal_int_fast64</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-equal-intptr">cut_assert_equal_intptr</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-not-equal-intptr">cut_assert_not_equal_intptr</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-equal-intmax">cut_assert_equal_intmax</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-not-equal-intmax">cut_assert_not_equal_intmax</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-assert-equal-uint">cut_assert_equal_uint</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-assert-not-equal-uint">cut_assert_not_equal_uint</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-equal-uint-least8">cut_assert_equal_uint_least8</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-not-equal-uint-least8">cut_assert_not_equal_uint_least8</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-equal-uint-least16">cut_assert_equal_uint_least16</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-not-equal-uint-least16">cut_assert_not_equal_uint_least16</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-equal-uint-least32">cut_assert_equal_uint_least32</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-not-equal-uint-least32">cut_assert_not_equal_uint_least32</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-equal-uint-least64">cut_assert_equal_uint_least64</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-not-equal-uint-least64">cut_assert_not_equal_uint_least64</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-equal-uint-fast8">cut_assert_equal_uint_fast8</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-not-equal-uint-fast8">cut_assert_not_equal_uint_fast8</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-equal-uint-fast16">cut_assert_equal_uint_fast16</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-not-equal-uint-fast16">cut_assert_not_equal_uint_fast16</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-equal-uint-fast32">cut_assert_equal_uint_fast32</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-not-equal-uint-fast32">cut_assert_not_equal_uint_fast32</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-equal-uint-fast64">cut_assert_equal_uint_fast64</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-not-equal-uint-fast64">cut_assert_not_equal_uint_fast64</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-equal-uintptr">cut_assert_equal_uintptr</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-not-equal-uintptr">cut_assert_not_equal_uintptr</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-equal-uintmax">cut_assert_equal_uintmax</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-not-equal-uintmax">cut_assert_not_equal_uintmax</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-assert-equal-size">cut_assert_equal_size</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-assert-not-equal-size">cut_assert_not_equal_size</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-assert-equal-double">cut_assert_equal_double</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-assert-not-equal-double">cut_assert_not_equal_double</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-equal-char">cut_assert_equal_char</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-not-equal-char">cut_assert_not_equal_char</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-assert-equal-string">cut_assert_equal_string</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-assert-not-equal-string">cut_assert_not_equal_string</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-assert-equal-string-with-free">cut_assert_equal_string_with_free</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-assert-equal-string-or-null">cut_assert_equal_string_or_null</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-assert-equal-substring">cut_assert_equal_substring</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-assert-not-equal-substring">cut_assert_not_equal_substring</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-assert-equal-memory">cut_assert_equal_memory</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-assert-not-equal-memory">cut_assert_not_equal_memory</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-assert-equal-string-array">cut_assert_equal_string_array</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-assert-equal-string-array-with-free">cut_assert_equal_string_array_with_free</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-operator">cut_assert_operator</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-operator-int">cut_assert_operator_int</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-operator-uint">cut_assert_operator_uint</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-operator-size">cut_assert_operator_size</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-operator-double">cut_assert_operator_double</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-equal">cut_assert_equal</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-assert-errno">cut_assert_errno</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-assert-file-exist">cut_assert_file_exist</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-assert-path-exist">cut_assert_path_exist</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-assert-exist-path">cut_assert_exist_path</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-assert-path-not-exist">cut_assert_path_not_exist</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-assert-not-exist-path">cut_assert_not_exist_path</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-assert-match">cut_assert_match</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-assert-match-with-free">cut_assert_match_with_free</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-assert-equal-pointer">cut_assert_equal_pointer</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-assert-equal-fixture-data-string">cut_assert_equal_fixture_data_string</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-equal-sockaddr">cut_assert_equal_sockaddr</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-equal-file-raw">cut_assert_equal_file_raw</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="cut-assert-not-equal-file-raw">cut_assert_not_equal_file_raw</link><phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-error">cut_error</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-error-errno">cut_error_errno</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-fail">cut_fail</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-pend">cut_pend</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-pending">cut_pending</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-notify">cut_notify</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-omit">cut_omit</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-return">cut_return</link> <phrase role="c_punctuation">()</phrase></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="cutter-Assertions.object-hierarchy" role="object_hierarchy">
<title role="object_hierarchy.title">オブジェクト階層</title>
<screen>
</screen>
</refsect1>


<refsect1 id="cutter-Assertions.description" role="desc">
<title role="desc.title">説明</title>
<para>あなたのプログラムが期待通りに動作しているかを検証するために、期待した値が得られていることを検証したい箇所で<link linkend="cut-assert-XXX"><function>cut_assert_XXX()</function></link>を使います。</para>
<para>例:</para>
<informalexample><programlisting><![CDATA[
cut_assert_equal_int(3, 1 + 2);
]]></programlisting></informalexample>
<para/>

</refsect1>
<refsect1 id="cutter-Assertions.functions_details" role="details">
<title role="details.title">Functions</title>
<refsect2 id="cut-assert" role="function">
<title>cut_assert ()</title>
<indexterm zone="cut-assert"><primary>cut_assert</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_assert (<parameter><link linkend="cut-boolean"><type>cut_boolean</type></link> expression</parameter>,
            <parameter>...</parameter>);</programlisting>
<para><parameter>expression</parameter>が0でも<link linkend="NULL:CAPS"><literal>NULL</literal></link>でもないとパスします。</para>
<para>例:</para>
<informalexample><programlisting><![CDATA[
char *string;
string = malloc(16);
cut_assert(string);
]]></programlisting></informalexample>
<para/>
<informalexample><programlisting><![CDATA[
MyObject *object;
object = my_object_new();
cut_assert(object, cut_message("my_object_new() should not be failed"));
]]></programlisting></informalexample>
<para/>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expression</para></entry>
<entry role="parameter_description"><para>チェックする式。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="cut-assert-true" role="function" condition="since:0.9">
<title>cut_assert_true ()</title>
<indexterm zone="cut-assert-true" role="0.9"><primary>cut_assert_true</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_assert_true (<parameter><link linkend="cut-boolean"><type>cut_boolean</type></link> expression</parameter>,
                 <parameter>...</parameter>);</programlisting>
<para><parameter>expression</parameter>が<link linkend="CUT-TRUE:CAPS"><literal>CUT_TRUE</literal></link>のとき（0でも<link linkend="NULL:CAPS"><literal>NULL</literal></link>でもないとき）パスします。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expression</para></entry>
<entry role="parameter_description"><para>チェックする式。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">0.9から</para></refsect2>
<refsect2 id="cut-assert-false" role="function" condition="since:0.9">
<title>cut_assert_false ()</title>
<indexterm zone="cut-assert-false" role="0.9"><primary>cut_assert_false</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_assert_false (<parameter><link linkend="cut-boolean"><type>cut_boolean</type></link> expression</parameter>,
                  <parameter>...</parameter>);</programlisting>
<para><parameter>expression</parameter>が0または<link linkend="NULL:CAPS"><literal>NULL</literal></link>のときパスします。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expression</para></entry>
<entry role="parameter_description"><para>チェックする式。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">0.9から</para></refsect2>
<refsect2 id="cut-assert-equal-boolean" role="function" condition="since:1.0.7">
<title>cut_assert_equal_boolean ()</title>
<indexterm zone="cut-assert-equal-boolean" role="1.0.7"><primary>cut_assert_equal_boolean</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_assert_equal_boolean (<parameter><link linkend="cut-boolean"><type>cut_boolean</type></link> expected</parameter>,
                          <parameter><link linkend="cut-boolean"><type>cut_boolean</type></link> actual</parameter>,
                          <parameter>...</parameter>);</programlisting>
<para><parameter>expected</parameter>と<parameter>actual</parameter>が両方とも<link linkend="CUT-TRUE:CAPS"><literal>CUT_TRUE</literal></link>の値か、両方とも<link linkend="CUT-FALSE:CAPS"><literal>CUT_FALSE</literal></link>の値のときパスします。</para>
<para>例:</para>
<informalexample><programlisting><![CDATA[
cut_assert_equal_boolean(CUT_TRUE, CUT_TRUE);   -> Pass
cut_assert_equal_boolean(CUT_FALSE, CUT_FALSE); -> Pass
cut_assert_equal_boolean(CUT_TRUE, CUT_FALSE);  -> Fail
]]></programlisting></informalexample>
<para/>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する真偽値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の真偽値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.0.7から</para></refsect2>
<refsect2 id="cut-assert-not-equal-boolean" role="function" condition="since:1.0.7">
<title>cut_assert_not_equal_boolean ()</title>
<indexterm zone="cut-assert-not-equal-boolean" role="1.0.7"><primary>cut_assert_not_equal_boolean</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_assert_not_equal_boolean (<parameter><link linkend="cut-boolean"><type>cut_boolean</type></link> expected</parameter>,
                              <parameter><link linkend="cut-boolean"><type>cut_boolean</type></link> actual</parameter>,
                              <parameter>...</parameter>);</programlisting>
<para><parameter>expected</parameter>が<link linkend="CUT-TRUE:CAPS"><literal>CUT_TRUE</literal></link>の値だが<parameter>actual</parameter>は<link linkend="CUT-FALSE:CAPS"><literal>CUT_FALSE</literal></link>の値のとき、または、<parameter>expected</parameter>が<link linkend="CUT-FALSE:CAPS"><literal>CUT_FALSE</literal></link>の値だが<parameter>actual</parameter>は<link linkend="CUT-TRUE:CAPS"><literal>CUT_TRUE</literal></link>の値のときにパスします。</para>
<para>例:</para>
<informalexample><programlisting><![CDATA[
cut_assert_not_equal_boolean(CUT_TRUE, CUT_TRUE);   -> Fail
cut_assert_not_equal_boolean(CUT_FALSE, CUT_FALSE); -> Fail
cut_assert_not_equal_boolean(CUT_TRUE, CUT_FALSE);  -> Pass
]]></programlisting></informalexample>
<para/>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する真偽値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の真偽値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.0.7から</para></refsect2>
<refsect2 id="cut-assert-null" role="function">
<title>cut_assert_null ()</title>
<indexterm zone="cut-assert-null"><primary>cut_assert_null</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_assert_null (<parameter>const <link linkend="void"><type>void</type></link> *expression</parameter>,
                 <parameter>...</parameter>);</programlisting>
<para><parameter>expression</parameter>が<link linkend="NULL:CAPS"><literal>NULL</literal></link>のときパスします。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expression</para></entry>
<entry role="parameter_description"><para>チェックする式。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="cut-assert-null-string" role="function" condition="since:0.3">
<title>cut_assert_null_string ()</title>
<indexterm zone="cut-assert-null-string" role="0.3"><primary>cut_assert_null_string</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_assert_null_string (<parameter>const <link linkend="char"><type>char</type></link> *string</parameter>,
                        <parameter>...</parameter>);</programlisting>
<para><parameter>string</parameter>が<link linkend="NULL:CAPS"><literal>NULL</literal></link>のときパスします。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>string</para></entry>
<entry role="parameter_description"><para>チェックする文字列。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">0.3から</para></refsect2>
<refsect2 id="cut-assert-not-null" role="function">
<title>cut_assert_not_null ()</title>
<indexterm zone="cut-assert-not-null"><primary>cut_assert_not_null</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_assert_not_null (<parameter>const <link linkend="void"><type>void</type></link> *expression</parameter>,
                     <parameter>...</parameter>);</programlisting>
<para><parameter>expression</parameter>が<link linkend="NULL:CAPS"><literal>NULL</literal></link>以外のときパスします。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expression</para></entry>
<entry role="parameter_description"><para>チェックする式。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="cut-assert-equal-int" role="function">
<title>cut_assert_equal_int ()</title>
<indexterm zone="cut-assert-equal-int"><primary>cut_assert_equal_int</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_assert_equal_int (<parameter><link linkend="int"><type>int</type></link> expected</parameter>,
                      <parameter><link linkend="int"><type>int</type></link> actual</parameter>,
                      <parameter>...</parameter>);</programlisting>
<para>Passes if <parameter>expected</parameter>
 == <parameter>actual</parameter>
.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="cut-assert-not-equal-int" role="function" condition="since:1.0.7">
<title>cut_assert_not_equal_int ()</title>
<indexterm zone="cut-assert-not-equal-int" role="1.0.7"><primary>cut_assert_not_equal_int</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_assert_not_equal_int (<parameter><link linkend="int"><type>int</type></link> expected</parameter>,
                          <parameter><link linkend="int"><type>int</type></link> actual</parameter>,
                          <parameter>...</parameter>);</programlisting>
<para>Passes if <parameter>expected</parameter>
 != <parameter>actual</parameter>
.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.0.7から</para></refsect2>
<refsect2 id="cut-assert-equal-int-least8" role="macro" condition="since:1.1.0">
<title>cut_assert_equal_int_least8()</title>
<indexterm zone="cut-assert-equal-int-least8" role="1.1.0"><primary>cut_assert_equal_int_least8</primary></indexterm>
<programlisting language="C">#define             cut_assert_equal_int_least8(expected, actual, ...)</programlisting>
<para>Passes if <parameter>expected</parameter>
 == <parameter>actual</parameter>
.</para>
<para>この関数はCUT_SUPPORT_C99_STDINT_TYPESが定義されているときだけ使用できます。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.0から</para></refsect2>
<refsect2 id="cut-assert-not-equal-int-least8" role="macro" condition="since:1.1.0">
<title>cut_assert_not_equal_int_least8()</title>
<indexterm zone="cut-assert-not-equal-int-least8" role="1.1.0"><primary>cut_assert_not_equal_int_least8</primary></indexterm>
<programlisting language="C">#define             cut_assert_not_equal_int_least8(expected, actual, ...)</programlisting>
<para>Passes if <parameter>expected</parameter>
 != <parameter>actual</parameter>
.</para>
<para>この関数はCUT_SUPPORT_C99_STDINT_TYPESが定義されているときだけ使用できます。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.0から</para></refsect2>
<refsect2 id="cut-assert-equal-int-least16" role="macro" condition="since:1.1.0">
<title>cut_assert_equal_int_least16()</title>
<indexterm zone="cut-assert-equal-int-least16" role="1.1.0"><primary>cut_assert_equal_int_least16</primary></indexterm>
<programlisting language="C">#define             cut_assert_equal_int_least16(expected, actual, ...)</programlisting>
<para>Passes if <parameter>expected</parameter>
 == <parameter>actual</parameter>
.</para>
<para>この関数はCUT_SUPPORT_C99_STDINT_TYPESが定義されているときだけ使用できます。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.0から</para></refsect2>
<refsect2 id="cut-assert-not-equal-int-least16" role="macro" condition="since:1.1.0">
<title>cut_assert_not_equal_int_least16()</title>
<indexterm zone="cut-assert-not-equal-int-least16" role="1.1.0"><primary>cut_assert_not_equal_int_least16</primary></indexterm>
<programlisting language="C">#define             cut_assert_not_equal_int_least16(expected, actual, ...)</programlisting>
<para>Passes if <parameter>expected</parameter>
 != <parameter>actual</parameter>
.</para>
<para>この関数はCUT_SUPPORT_C99_STDINT_TYPESが定義されているときだけ使用できます。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.0から</para></refsect2>
<refsect2 id="cut-assert-equal-int-least32" role="macro" condition="since:1.1.0">
<title>cut_assert_equal_int_least32()</title>
<indexterm zone="cut-assert-equal-int-least32" role="1.1.0"><primary>cut_assert_equal_int_least32</primary></indexterm>
<programlisting language="C">#define             cut_assert_equal_int_least32(expected, actual, ...)</programlisting>
<para>Passes if <parameter>expected</parameter>
 == <parameter>actual</parameter>
.</para>
<para>この関数はCUT_SUPPORT_C99_STDINT_TYPESが定義されているときだけ使用できます。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.0から</para></refsect2>
<refsect2 id="cut-assert-not-equal-int-least32" role="macro" condition="since:1.1.0">
<title>cut_assert_not_equal_int_least32()</title>
<indexterm zone="cut-assert-not-equal-int-least32" role="1.1.0"><primary>cut_assert_not_equal_int_least32</primary></indexterm>
<programlisting language="C">#define             cut_assert_not_equal_int_least32(expected, actual, ...)</programlisting>
<para>Passes if <parameter>expected</parameter>
 != <parameter>actual</parameter>
.</para>
<para>この関数はCUT_SUPPORT_C99_STDINT_TYPESが定義されているときだけ使用できます。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.0から</para></refsect2>
<refsect2 id="cut-assert-equal-int-least64" role="macro" condition="since:1.1.0">
<title>cut_assert_equal_int_least64()</title>
<indexterm zone="cut-assert-equal-int-least64" role="1.1.0"><primary>cut_assert_equal_int_least64</primary></indexterm>
<programlisting language="C">#define             cut_assert_equal_int_least64(expected, actual, ...)</programlisting>
<para>Passes if <parameter>expected</parameter>
 == <parameter>actual</parameter>
.</para>
<para>この関数はCUT_SUPPORT_C99_STDINT_TYPESが定義されているときだけ使用できます。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.0から</para></refsect2>
<refsect2 id="cut-assert-not-equal-int-least64" role="macro" condition="since:1.1.0">
<title>cut_assert_not_equal_int_least64()</title>
<indexterm zone="cut-assert-not-equal-int-least64" role="1.1.0"><primary>cut_assert_not_equal_int_least64</primary></indexterm>
<programlisting language="C">#define             cut_assert_not_equal_int_least64(expected, actual, ...)</programlisting>
<para>Passes if <parameter>expected</parameter>
 != <parameter>actual</parameter>
.</para>
<para>この関数はCUT_SUPPORT_C99_STDINT_TYPESが定義されているときだけ使用できます。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.0から</para></refsect2>
<refsect2 id="cut-assert-equal-int-fast8" role="macro" condition="since:1.1.0">
<title>cut_assert_equal_int_fast8()</title>
<indexterm zone="cut-assert-equal-int-fast8" role="1.1.0"><primary>cut_assert_equal_int_fast8</primary></indexterm>
<programlisting language="C">#define             cut_assert_equal_int_fast8(expected, actual, ...)</programlisting>
<para>Passes if <parameter>expected</parameter>
 == <parameter>actual</parameter>
.</para>
<para>この関数はCUT_SUPPORT_C99_STDINT_TYPESが定義されているときだけ使用できます。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.0から</para></refsect2>
<refsect2 id="cut-assert-not-equal-int-fast8" role="macro" condition="since:1.1.0">
<title>cut_assert_not_equal_int_fast8()</title>
<indexterm zone="cut-assert-not-equal-int-fast8" role="1.1.0"><primary>cut_assert_not_equal_int_fast8</primary></indexterm>
<programlisting language="C">#define             cut_assert_not_equal_int_fast8(expected, actual, ...)</programlisting>
<para>Passes if <parameter>expected</parameter>
 != <parameter>actual</parameter>
.</para>
<para>この関数はCUT_SUPPORT_C99_STDINT_TYPESが定義されているときだけ使用できます。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.0から</para></refsect2>
<refsect2 id="cut-assert-equal-int-fast16" role="macro" condition="since:1.1.0">
<title>cut_assert_equal_int_fast16()</title>
<indexterm zone="cut-assert-equal-int-fast16" role="1.1.0"><primary>cut_assert_equal_int_fast16</primary></indexterm>
<programlisting language="C">#define             cut_assert_equal_int_fast16(expected, actual, ...)</programlisting>
<para>Passes if <parameter>expected</parameter>
 == <parameter>actual</parameter>
.</para>
<para>この関数はCUT_SUPPORT_C99_STDINT_TYPESが定義されているときだけ使用できます。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.0から</para></refsect2>
<refsect2 id="cut-assert-not-equal-int-fast16" role="macro" condition="since:1.1.0">
<title>cut_assert_not_equal_int_fast16()</title>
<indexterm zone="cut-assert-not-equal-int-fast16" role="1.1.0"><primary>cut_assert_not_equal_int_fast16</primary></indexterm>
<programlisting language="C">#define             cut_assert_not_equal_int_fast16(expected, actual, ...)</programlisting>
<para>Passes if <parameter>expected</parameter>
 != <parameter>actual</parameter>
.</para>
<para>この関数はCUT_SUPPORT_C99_STDINT_TYPESが定義されているときだけ使用できます。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.0から</para></refsect2>
<refsect2 id="cut-assert-equal-int-fast32" role="macro" condition="since:1.1.0">
<title>cut_assert_equal_int_fast32()</title>
<indexterm zone="cut-assert-equal-int-fast32" role="1.1.0"><primary>cut_assert_equal_int_fast32</primary></indexterm>
<programlisting language="C">#define             cut_assert_equal_int_fast32(expected, actual, ...)</programlisting>
<para>Passes if <parameter>expected</parameter>
 == <parameter>actual</parameter>
.</para>
<para>この関数はCUT_SUPPORT_C99_STDINT_TYPESが定義されているときだけ使用できます。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.0から</para></refsect2>
<refsect2 id="cut-assert-not-equal-int-fast32" role="macro" condition="since:1.1.0">
<title>cut_assert_not_equal_int_fast32()</title>
<indexterm zone="cut-assert-not-equal-int-fast32" role="1.1.0"><primary>cut_assert_not_equal_int_fast32</primary></indexterm>
<programlisting language="C">#define             cut_assert_not_equal_int_fast32(expected, actual, ...)</programlisting>
<para>Passes if <parameter>expected</parameter>
 != <parameter>actual</parameter>
.</para>
<para>この関数はCUT_SUPPORT_C99_STDINT_TYPESが定義されているときだけ使用できます。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.0から</para></refsect2>
<refsect2 id="cut-assert-equal-int-fast64" role="macro" condition="since:1.1.0">
<title>cut_assert_equal_int_fast64()</title>
<indexterm zone="cut-assert-equal-int-fast64" role="1.1.0"><primary>cut_assert_equal_int_fast64</primary></indexterm>
<programlisting language="C">#define             cut_assert_equal_int_fast64(expected, actual, ...)</programlisting>
<para>Passes if <parameter>expected</parameter>
 == <parameter>actual</parameter>
.</para>
<para>この関数はCUT_SUPPORT_C99_STDINT_TYPESが定義されているときだけ使用できます。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.0から</para></refsect2>
<refsect2 id="cut-assert-not-equal-int-fast64" role="macro" condition="since:1.1.0">
<title>cut_assert_not_equal_int_fast64()</title>
<indexterm zone="cut-assert-not-equal-int-fast64" role="1.1.0"><primary>cut_assert_not_equal_int_fast64</primary></indexterm>
<programlisting language="C">#define             cut_assert_not_equal_int_fast64(expected, actual, ...)</programlisting>
<para>Passes if <parameter>expected</parameter>
 != <parameter>actual</parameter>
.</para>
<para>この関数はCUT_SUPPORT_C99_STDINT_TYPESが定義されているときだけ使用できます。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.0から</para></refsect2>
<refsect2 id="cut-assert-equal-intptr" role="macro" condition="since:1.1.0">
<title>cut_assert_equal_intptr()</title>
<indexterm zone="cut-assert-equal-intptr" role="1.1.0"><primary>cut_assert_equal_intptr</primary></indexterm>
<programlisting language="C">#define             cut_assert_equal_intptr(expected, actual, ...)</programlisting>
<para>Passes if <parameter>expected</parameter>
 == <parameter>actual</parameter>
.</para>
<para>この関数はCUT_SUPPORT_C99_STDINT_TYPESが定義されているときだけ使用できます。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.0から</para></refsect2>
<refsect2 id="cut-assert-not-equal-intptr" role="macro" condition="since:1.1.0">
<title>cut_assert_not_equal_intptr()</title>
<indexterm zone="cut-assert-not-equal-intptr" role="1.1.0"><primary>cut_assert_not_equal_intptr</primary></indexterm>
<programlisting language="C">#define             cut_assert_not_equal_intptr(expected, actual, ...)</programlisting>
<para>Passes if <parameter>expected</parameter>
 != <parameter>actual</parameter>
.</para>
<para>この関数はCUT_SUPPORT_C99_STDINT_TYPESが定義されているときだけ使用できます。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.0から</para></refsect2>
<refsect2 id="cut-assert-equal-intmax" role="macro" condition="since:1.1.0">
<title>cut_assert_equal_intmax()</title>
<indexterm zone="cut-assert-equal-intmax" role="1.1.0"><primary>cut_assert_equal_intmax</primary></indexterm>
<programlisting language="C">#define             cut_assert_equal_intmax(expected, actual, ...)</programlisting>
<para>Passes if <parameter>expected</parameter>
 == <parameter>actual</parameter>
.</para>
<para>この関数はCUT_SUPPORT_C99_STDINT_TYPESが定義されているときだけ使用できます。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.0から</para></refsect2>
<refsect2 id="cut-assert-not-equal-intmax" role="macro" condition="since:1.1.0">
<title>cut_assert_not_equal_intmax()</title>
<indexterm zone="cut-assert-not-equal-intmax" role="1.1.0"><primary>cut_assert_not_equal_intmax</primary></indexterm>
<programlisting language="C">#define             cut_assert_not_equal_intmax(expected, actual, ...)</programlisting>
<para>Passes if <parameter>expected</parameter>
 != <parameter>actual</parameter>
.</para>
<para>この関数はCUT_SUPPORT_C99_STDINT_TYPESが定義されているときだけ使用できます。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.0から</para></refsect2>
<refsect2 id="cut-assert-equal-uint" role="function">
<title>cut_assert_equal_uint ()</title>
<indexterm zone="cut-assert-equal-uint"><primary>cut_assert_equal_uint</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_assert_equal_uint (<parameter>unsigned <link linkend="int"><type>int</type></link> expected</parameter>,
                       <parameter>unsigned <link linkend="int"><type>int</type></link> actual</parameter>,
                       <parameter>...</parameter>);</programlisting>
<para>Passes if <parameter>expected</parameter>
 == <parameter>actual</parameter>
.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する符号無し整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の符号無し符号整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="cut-assert-not-equal-uint" role="function" condition="since:1.0.7">
<title>cut_assert_not_equal_uint ()</title>
<indexterm zone="cut-assert-not-equal-uint" role="1.0.7"><primary>cut_assert_not_equal_uint</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_assert_not_equal_uint (<parameter>unsigned <link linkend="int"><type>int</type></link> expected</parameter>,
                           <parameter>unsigned <link linkend="int"><type>int</type></link> actual</parameter>,
                           <parameter>...</parameter>);</programlisting>
<para>Passes if <parameter>expected</parameter>
 != <parameter>actual</parameter>
.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する符号無し整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の符号無し符号整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.0.7から</para></refsect2>
<refsect2 id="cut-assert-equal-uint-least8" role="macro" condition="since:1.1.0">
<title>cut_assert_equal_uint_least8()</title>
<indexterm zone="cut-assert-equal-uint-least8" role="1.1.0"><primary>cut_assert_equal_uint_least8</primary></indexterm>
<programlisting language="C">#define             cut_assert_equal_uint_least8(expected, actual, ...)</programlisting>
<para>Passes if <parameter>expected</parameter>
 == <parameter>actual</parameter>
.</para>
<para>この関数はCUT_SUPPORT_C99_STDINT_TYPESが定義されているときだけ使用できます。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する符号無し整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の符号無し符号整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.0から</para></refsect2>
<refsect2 id="cut-assert-not-equal-uint-least8" role="macro" condition="since:1.1.0">
<title>cut_assert_not_equal_uint_least8()</title>
<indexterm zone="cut-assert-not-equal-uint-least8" role="1.1.0"><primary>cut_assert_not_equal_uint_least8</primary></indexterm>
<programlisting language="C">#define             cut_assert_not_equal_uint_least8(expected, actual, ...)</programlisting>
<para>Passes if <parameter>expected</parameter>
 != <parameter>actual</parameter>
.</para>
<para>この関数はCUT_SUPPORT_C99_STDINT_TYPESが定義されているときだけ使用できます。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する符号無し整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の符号無し符号整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.0から</para></refsect2>
<refsect2 id="cut-assert-equal-uint-least16" role="macro" condition="since:1.1.0">
<title>cut_assert_equal_uint_least16()</title>
<indexterm zone="cut-assert-equal-uint-least16" role="1.1.0"><primary>cut_assert_equal_uint_least16</primary></indexterm>
<programlisting language="C">#define             cut_assert_equal_uint_least16(expected, actual, ...)</programlisting>
<para>Passes if <parameter>expected</parameter>
 == <parameter>actual</parameter>
.</para>
<para>この関数はCUT_SUPPORT_C99_STDINT_TYPESが定義されているときだけ使用できます。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する符号無し整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の符号無し符号整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.0から</para></refsect2>
<refsect2 id="cut-assert-not-equal-uint-least16" role="macro" condition="since:1.1.0">
<title>cut_assert_not_equal_uint_least16()</title>
<indexterm zone="cut-assert-not-equal-uint-least16" role="1.1.0"><primary>cut_assert_not_equal_uint_least16</primary></indexterm>
<programlisting language="C">#define             cut_assert_not_equal_uint_least16(expected, actual, ...)</programlisting>
<para>Passes if <parameter>expected</parameter>
 != <parameter>actual</parameter>
.</para>
<para>この関数はCUT_SUPPORT_C99_STDINT_TYPESが定義されているときだけ使用できます。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する符号無し整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の符号無し符号整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.0から</para></refsect2>
<refsect2 id="cut-assert-equal-uint-least32" role="macro" condition="since:1.1.0">
<title>cut_assert_equal_uint_least32()</title>
<indexterm zone="cut-assert-equal-uint-least32" role="1.1.0"><primary>cut_assert_equal_uint_least32</primary></indexterm>
<programlisting language="C">#define             cut_assert_equal_uint_least32(expected, actual, ...)</programlisting>
<para>Passes if <parameter>expected</parameter>
 == <parameter>actual</parameter>
.</para>
<para>この関数はCUT_SUPPORT_C99_STDINT_TYPESが定義されているときだけ使用できます。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する符号無し整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の符号無し符号整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.0から</para></refsect2>
<refsect2 id="cut-assert-not-equal-uint-least32" role="macro" condition="since:1.1.0">
<title>cut_assert_not_equal_uint_least32()</title>
<indexterm zone="cut-assert-not-equal-uint-least32" role="1.1.0"><primary>cut_assert_not_equal_uint_least32</primary></indexterm>
<programlisting language="C">#define             cut_assert_not_equal_uint_least32(expected, actual, ...)</programlisting>
<para>Passes if <parameter>expected</parameter>
 != <parameter>actual</parameter>
.</para>
<para>この関数はCUT_SUPPORT_C99_STDINT_TYPESが定義されているときだけ使用できます。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する符号無し整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の符号無し符号整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.0から</para></refsect2>
<refsect2 id="cut-assert-equal-uint-least64" role="macro" condition="since:1.1.0">
<title>cut_assert_equal_uint_least64()</title>
<indexterm zone="cut-assert-equal-uint-least64" role="1.1.0"><primary>cut_assert_equal_uint_least64</primary></indexterm>
<programlisting language="C">#define             cut_assert_equal_uint_least64(expected, actual, ...)</programlisting>
<para>Passes if <parameter>expected</parameter>
 == <parameter>actual</parameter>
.</para>
<para>この関数はCUT_SUPPORT_C99_STDINT_TYPESが定義されているときだけ使用できます。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する符号無し整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の符号無し符号整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.0から</para></refsect2>
<refsect2 id="cut-assert-not-equal-uint-least64" role="macro" condition="since:1.1.0">
<title>cut_assert_not_equal_uint_least64()</title>
<indexterm zone="cut-assert-not-equal-uint-least64" role="1.1.0"><primary>cut_assert_not_equal_uint_least64</primary></indexterm>
<programlisting language="C">#define             cut_assert_not_equal_uint_least64(expected, actual, ...)</programlisting>
<para>Passes if <parameter>expected</parameter>
 != <parameter>actual</parameter>
.</para>
<para>この関数はCUT_SUPPORT_C99_STDINT_TYPESが定義されているときだけ使用できます。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する符号無し整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の符号無し符号整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.0から</para></refsect2>
<refsect2 id="cut-assert-equal-uint-fast8" role="macro" condition="since:1.1.0">
<title>cut_assert_equal_uint_fast8()</title>
<indexterm zone="cut-assert-equal-uint-fast8" role="1.1.0"><primary>cut_assert_equal_uint_fast8</primary></indexterm>
<programlisting language="C">#define             cut_assert_equal_uint_fast8(expected, actual, ...)</programlisting>
<para>Passes if <parameter>expected</parameter>
 == <parameter>actual</parameter>
.</para>
<para>この関数はCUT_SUPPORT_C99_STDINT_TYPESが定義されているときだけ使用できます。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する符号無し整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の符号無し符号整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.0から</para></refsect2>
<refsect2 id="cut-assert-not-equal-uint-fast8" role="macro" condition="since:1.1.0">
<title>cut_assert_not_equal_uint_fast8()</title>
<indexterm zone="cut-assert-not-equal-uint-fast8" role="1.1.0"><primary>cut_assert_not_equal_uint_fast8</primary></indexterm>
<programlisting language="C">#define             cut_assert_not_equal_uint_fast8(expected, actual, ...)</programlisting>
<para>Passes if <parameter>expected</parameter>
 != <parameter>actual</parameter>
.</para>
<para>この関数はCUT_SUPPORT_C99_STDINT_TYPESが定義されているときだけ使用できます。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する符号無し整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の符号無し符号整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.0から</para></refsect2>
<refsect2 id="cut-assert-equal-uint-fast16" role="macro" condition="since:1.1.0">
<title>cut_assert_equal_uint_fast16()</title>
<indexterm zone="cut-assert-equal-uint-fast16" role="1.1.0"><primary>cut_assert_equal_uint_fast16</primary></indexterm>
<programlisting language="C">#define             cut_assert_equal_uint_fast16(expected, actual, ...)</programlisting>
<para>Passes if <parameter>expected</parameter>
 == <parameter>actual</parameter>
.</para>
<para>この関数はCUT_SUPPORT_C99_STDINT_TYPESが定義されているときだけ使用できます。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する符号無し整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の符号無し符号整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.0から</para></refsect2>
<refsect2 id="cut-assert-not-equal-uint-fast16" role="macro" condition="since:1.1.0">
<title>cut_assert_not_equal_uint_fast16()</title>
<indexterm zone="cut-assert-not-equal-uint-fast16" role="1.1.0"><primary>cut_assert_not_equal_uint_fast16</primary></indexterm>
<programlisting language="C">#define             cut_assert_not_equal_uint_fast16(expected, actual, ...)</programlisting>
<para>Passes if <parameter>expected</parameter>
 != <parameter>actual</parameter>
.</para>
<para>この関数はCUT_SUPPORT_C99_STDINT_TYPESが定義されているときだけ使用できます。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する符号無し整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の符号無し符号整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.0から</para></refsect2>
<refsect2 id="cut-assert-equal-uint-fast32" role="macro" condition="since:1.1.0">
<title>cut_assert_equal_uint_fast32()</title>
<indexterm zone="cut-assert-equal-uint-fast32" role="1.1.0"><primary>cut_assert_equal_uint_fast32</primary></indexterm>
<programlisting language="C">#define             cut_assert_equal_uint_fast32(expected, actual, ...)</programlisting>
<para>Passes if <parameter>expected</parameter>
 == <parameter>actual</parameter>
.</para>
<para>この関数はCUT_SUPPORT_C99_STDINT_TYPESが定義されているときだけ使用できます。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する符号無し整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の符号無し符号整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.0から</para></refsect2>
<refsect2 id="cut-assert-not-equal-uint-fast32" role="macro" condition="since:1.1.0">
<title>cut_assert_not_equal_uint_fast32()</title>
<indexterm zone="cut-assert-not-equal-uint-fast32" role="1.1.0"><primary>cut_assert_not_equal_uint_fast32</primary></indexterm>
<programlisting language="C">#define             cut_assert_not_equal_uint_fast32(expected, actual, ...)</programlisting>
<para>Passes if <parameter>expected</parameter>
 != <parameter>actual</parameter>
.</para>
<para>この関数はCUT_SUPPORT_C99_STDINT_TYPESが定義されているときだけ使用できます。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する符号無し整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の符号無し符号整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.0から</para></refsect2>
<refsect2 id="cut-assert-equal-uint-fast64" role="macro" condition="since:1.1.0">
<title>cut_assert_equal_uint_fast64()</title>
<indexterm zone="cut-assert-equal-uint-fast64" role="1.1.0"><primary>cut_assert_equal_uint_fast64</primary></indexterm>
<programlisting language="C">#define             cut_assert_equal_uint_fast64(expected, actual, ...)</programlisting>
<para>Passes if <parameter>expected</parameter>
 == <parameter>actual</parameter>
.</para>
<para>この関数はCUT_SUPPORT_C99_STDINT_TYPESが定義されているときだけ使用できます。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する符号無し整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の符号無し符号整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.0から</para></refsect2>
<refsect2 id="cut-assert-not-equal-uint-fast64" role="macro" condition="since:1.1.0">
<title>cut_assert_not_equal_uint_fast64()</title>
<indexterm zone="cut-assert-not-equal-uint-fast64" role="1.1.0"><primary>cut_assert_not_equal_uint_fast64</primary></indexterm>
<programlisting language="C">#define             cut_assert_not_equal_uint_fast64(expected, actual, ...)</programlisting>
<para>Passes if <parameter>expected</parameter>
 != <parameter>actual</parameter>
.</para>
<para>この関数はCUT_SUPPORT_C99_STDINT_TYPESが定義されているときだけ使用できます。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する符号無し整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の符号無し符号整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.0から</para></refsect2>
<refsect2 id="cut-assert-equal-uintptr" role="macro" condition="since:1.1.0">
<title>cut_assert_equal_uintptr()</title>
<indexterm zone="cut-assert-equal-uintptr" role="1.1.0"><primary>cut_assert_equal_uintptr</primary></indexterm>
<programlisting language="C">#define             cut_assert_equal_uintptr(expected, actual, ...)</programlisting>
<para>Passes if <parameter>expected</parameter>
 == <parameter>actual</parameter>
.</para>
<para>この関数はCUT_SUPPORT_C99_STDINT_TYPESが定義されているときだけ使用できます。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する符号無し整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の符号無し符号整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.0から</para></refsect2>
<refsect2 id="cut-assert-not-equal-uintptr" role="macro" condition="since:1.1.0">
<title>cut_assert_not_equal_uintptr()</title>
<indexterm zone="cut-assert-not-equal-uintptr" role="1.1.0"><primary>cut_assert_not_equal_uintptr</primary></indexterm>
<programlisting language="C">#define             cut_assert_not_equal_uintptr(expected, actual, ...)</programlisting>
<para>Passes if <parameter>expected</parameter>
 != <parameter>actual</parameter>
.</para>
<para>この関数はCUT_SUPPORT_C99_STDINT_TYPESが定義されているときだけ使用できます。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する符号無し整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の符号無し符号整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.0から</para></refsect2>
<refsect2 id="cut-assert-equal-uintmax" role="macro" condition="since:1.1.0">
<title>cut_assert_equal_uintmax()</title>
<indexterm zone="cut-assert-equal-uintmax" role="1.1.0"><primary>cut_assert_equal_uintmax</primary></indexterm>
<programlisting language="C">#define             cut_assert_equal_uintmax(expected, actual, ...)</programlisting>
<para>Passes if <parameter>expected</parameter>
 == <parameter>actual</parameter>
.</para>
<para>この関数はCUT_SUPPORT_C99_STDINT_TYPESが定義されているときだけ使用できます。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する符号無し整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の符号無し符号整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.0から</para></refsect2>
<refsect2 id="cut-assert-not-equal-uintmax" role="macro" condition="since:1.1.0">
<title>cut_assert_not_equal_uintmax()</title>
<indexterm zone="cut-assert-not-equal-uintmax" role="1.1.0"><primary>cut_assert_not_equal_uintmax</primary></indexterm>
<programlisting language="C">#define             cut_assert_not_equal_uintmax(expected, actual, ...)</programlisting>
<para>Passes if <parameter>expected</parameter>
 != <parameter>actual</parameter>
.</para>
<para>この関数はCUT_SUPPORT_C99_STDINT_TYPESが定義されているときだけ使用できます。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する符号無し整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の符号無し符号整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.0から</para></refsect2>
<refsect2 id="cut-assert-equal-size" role="function" condition="since:1.0.6">
<title>cut_assert_equal_size ()</title>
<indexterm zone="cut-assert-equal-size" role="1.0.6"><primary>cut_assert_equal_size</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_assert_equal_size (<parameter><link linkend="size-t"><type>size_t</type></link> expected</parameter>,
                       <parameter><link linkend="size-t"><type>size_t</type></link> actual</parameter>,
                       <parameter>...</parameter>);</programlisting>
<para>Passes if <parameter>expected</parameter>
 == <parameter>actual</parameter>
.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待するsize_tの値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際のsize_tの値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.0.6から</para></refsect2>
<refsect2 id="cut-assert-not-equal-size" role="function" condition="since:1.0.7">
<title>cut_assert_not_equal_size ()</title>
<indexterm zone="cut-assert-not-equal-size" role="1.0.7"><primary>cut_assert_not_equal_size</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_assert_not_equal_size (<parameter><link linkend="size-t"><type>size_t</type></link> expected</parameter>,
                           <parameter><link linkend="size-t"><type>size_t</type></link> actual</parameter>,
                           <parameter>...</parameter>);</programlisting>
<para>Passes if <parameter>expected</parameter>
 != <parameter>actual</parameter>
.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待するsize_tの値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際のsize_tの値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.0.7から</para></refsect2>
<refsect2 id="cut-assert-equal-double" role="function">
<title>cut_assert_equal_double ()</title>
<indexterm zone="cut-assert-equal-double"><primary>cut_assert_equal_double</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_assert_equal_double (<parameter><link linkend="double"><type>double</type></link> expected</parameter>,
                         <parameter><link linkend="double"><type>double</type></link> error</parameter>,
                         <parameter><link linkend="double"><type>double</type></link> actual</parameter>,
                         <parameter>...</parameter>);</programlisting>
<para>Passes if (<parameter>expected</parameter>
 - <parameter>error</parameter>
) &lt;= <parameter>actual</parameter>
 &lt;= (<parameter>expected</parameter>
 + <parameter>error</parameter>
).</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する浮動小数点数。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>error</para></entry>
<entry role="parameter_description"><para>誤差範囲を示す浮動小数点数。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の浮動小数点数。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="cut-assert-not-equal-double" role="function" condition="since:1.0.7">
<title>cut_assert_not_equal_double ()</title>
<indexterm zone="cut-assert-not-equal-double" role="1.0.7"><primary>cut_assert_not_equal_double</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_assert_not_equal_double (<parameter><link linkend="double"><type>double</type></link> expected</parameter>,
                             <parameter><link linkend="double"><type>double</type></link> error</parameter>,
                             <parameter><link linkend="double"><type>double</type></link> actual</parameter>,
                             <parameter>...</parameter>);</programlisting>
<para>Passes if <parameter>actual</parameter>
 &lt; (<parameter>expected</parameter>
 - <parameter>error</parameter>
) &amp;&amp; (<parameter>expected</parameter>
 + <parameter>error</parameter>
) &lt; <parameter>actual</parameter>
.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する浮動小数点数。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>error</para></entry>
<entry role="parameter_description"><para>誤差範囲を示す浮動小数点数。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の浮動小数点数。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.0.7から</para></refsect2>
<refsect2 id="cut-assert-equal-char" role="macro" condition="since:1.1.3">
<title>cut_assert_equal_char()</title>
<indexterm zone="cut-assert-equal-char" role="1.1.3"><primary>cut_assert_equal_char</primary></indexterm>
<programlisting language="C">#define             cut_assert_equal_char(expected, actual, ...)</programlisting>
<para>Passes if <parameter>expected</parameter>
 ==  <parameter>actual</parameter>
.</para>
<para>例:</para>
<informalexample><programlisting><![CDATA[
cut_assert_equal_char('a', 'a'); -> Pass
cut_assert_equal_char('a', 'b'); -> Fail
]]></programlisting></informalexample>
<para/>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する文字。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の文字。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.3から</para></refsect2>
<refsect2 id="cut-assert-not-equal-char" role="macro" condition="since:1.1.3">
<title>cut_assert_not_equal_char()</title>
<indexterm zone="cut-assert-not-equal-char" role="1.1.3"><primary>cut_assert_not_equal_char</primary></indexterm>
<programlisting language="C">#define             cut_assert_not_equal_char(expected, actual, ...)</programlisting>
<para>Passes if <parameter>expected</parameter>
 != <parameter>actual</parameter>
.</para>
<para>例:</para>
<informalexample><programlisting><![CDATA[
cut_assert_not_equal_char('a', 'b'); -> Pass
cut_assert_not_equal_char('a', 'a'); -> Fail
]]></programlisting></informalexample>
<para/>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する文字。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の文字。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.3から</para></refsect2>
<refsect2 id="cut-assert-equal-string" role="function">
<title>cut_assert_equal_string ()</title>
<indexterm zone="cut-assert-equal-string"><primary>cut_assert_equal_string</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_assert_equal_string (<parameter>const <link linkend="char"><type>char</type></link> *expected</parameter>,
                         <parameter>const <link linkend="char"><type>char</type></link> *actual</parameter>,
                         <parameter>...</parameter>);</programlisting>
<para>Passes if both <parameter>expected</parameter>
 and <parameter>actual</parameter>
 are <link linkend="NULL:CAPS"><literal>NULL</literal></link> or
strcmp(<parameter>expected</parameter>
, <parameter>actual</parameter>
) == 0.</para>
<para>例:</para>
<informalexample><programlisting><![CDATA[
cut_assert_equal_string("abc", "abc"); -> Pass
cut_assert_equal_string(NULL, NULL);   -> Pass
cut_assert_equal_string("abc", "ABC"); -> Fail
cut_assert_equal_string("abc", NULL);  -> Fail
cut_assert_equal_string(NULL, "abc");  -> Fail
]]></programlisting></informalexample>
<para/>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する文字列。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の文字列の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="cut-assert-not-equal-string" role="function" condition="since:1.0.7">
<title>cut_assert_not_equal_string ()</title>
<indexterm zone="cut-assert-not-equal-string" role="1.0.7"><primary>cut_assert_not_equal_string</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_assert_not_equal_string (<parameter>const <link linkend="char"><type>char</type></link> *expected</parameter>,
                             <parameter>const <link linkend="char"><type>char</type></link> *actual</parameter>,
                             <parameter>...</parameter>);</programlisting>
<para>Passes if one of <parameter>expected</parameter>
 and <parameter>actual</parameter>
 is <link linkend="NULL:CAPS"><literal>NULL</literal></link> or
strcmp(<parameter>expected</parameter>
, <parameter>actual</parameter>
) != 0.</para>
<para>例:</para>
<informalexample><programlisting><![CDATA[
cut_assert_not_equal_string("abc", NULL);  -> Pass
cut_assert_not_equal_string(NULL, "abc");  -> Pass
cut_assert_not_equal_string("abc", "ABC"); -> Pass
cut_assert_not_equal_string("abc", "abc"); -> Fail
cut_assert_not_equal_string(NULL, NULL);   -> Fail
]]></programlisting></informalexample>
<para/>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する文字列。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の文字列の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.0.7から</para></refsect2>
<refsect2 id="cut-assert-equal-string-with-free" role="function" condition="since:0.3">
<title>cut_assert_equal_string_with_free ()</title>
<indexterm zone="cut-assert-equal-string-with-free" role="0.3"><primary>cut_assert_equal_string_with_free</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_assert_equal_string_with_free (<parameter>const <link linkend="char"><type>char</type></link> *expected</parameter>,
                                   <parameter>const <link linkend="char"><type>char</type></link> *actual</parameter>,
                                   <parameter>...</parameter>);</programlisting>
<para>Passes if both <parameter>expected</parameter>
 and <parameter>actual</parameter>
 are <link linkend="NULL:CAPS"><literal>NULL</literal></link> or
strcmp(<parameter>expected</parameter>
, <parameter>actual</parameter>
) == 0.</para>
<para>使用例は<link linkend="cut-assert-equal-string"><function>cut_assert_equal_string()</function></link>を見てください。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する文字列。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の文字列の値。（チェック後に開放される）</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">0.3から</para></refsect2>
<refsect2 id="cut-assert-equal-string-or-null" role="function" condition="deprecated:0.3: Use cut_assert_equal_string() instead.">
<title>cut_assert_equal_string_or_null ()</title>
<indexterm zone="cut-assert-equal-string-or-null" role="deprecated"><primary>cut_assert_equal_string_or_null</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_assert_equal_string_or_null (<parameter>const <link linkend="char"><type>char</type></link> *expected</parameter>,
                                 <parameter>const <link linkend="char"><type>char</type></link> *actual</parameter>,
                                 <parameter>...</parameter>);</programlisting>
<warning><para><literal>cut_assert_equal_string_or_null</literal> has been deprecated since version 0.3 and should not be used in newly-written code.</para> <para>Use <link linkend="cut-assert-equal-string"><function>cut_assert_equal_string()</function></link> instead.</para>
</warning>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する文字列。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の文字列の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="cut-assert-equal-substring" role="function" condition="since:1.0.7">
<title>cut_assert_equal_substring ()</title>
<indexterm zone="cut-assert-equal-substring" role="1.0.7"><primary>cut_assert_equal_substring</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_assert_equal_substring (<parameter>const <link linkend="char"><type>char</type></link> *expected</parameter>,
                            <parameter>const <link linkend="char"><type>char</type></link> *actual</parameter>,
                            <parameter><link linkend="size-t"><type>size_t</type></link> length</parameter>,
                            <parameter>...</parameter>);</programlisting>
<para>Passes if (1) both <parameter>expected</parameter>
 and <parameter>actual</parameter>
 are <link linkend="NULL:CAPS"><literal>NULL</literal></link> and
<parameter>length</parameter>
 == 1 or (2) strncmp(<parameter>expected</parameter>
, <parameter>actual</parameter>
, <parameter>length</parameter>
)
== 0.</para>
<para>例:</para>
<informalexample><programlisting><![CDATA[
cut_assert_equal_substring("abcdef", "abcDEF", 3); -> Pass
cut_assert_equal_substring(NULL, NULL, 0);         -> Pass
cut_assert_equal_substring(NULL, NULL, 3);         -> Fail
cut_assert_equal_substring("abc", "ABC", 3);       -> Fail
cut_assert_equal_substring("abc", NULL, 3);        -> Fail
cut_assert_equal_substring(NULL, "abc", 3);        -> Fail
]]></programlisting></informalexample>
<para/>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する文字列。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の文字列の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>length</para></entry>
<entry role="parameter_description"><para>compared string length.</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.0.7から</para></refsect2>
<refsect2 id="cut-assert-not-equal-substring" role="function" condition="since:1.0.7">
<title>cut_assert_not_equal_substring ()</title>
<indexterm zone="cut-assert-not-equal-substring" role="1.0.7"><primary>cut_assert_not_equal_substring</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_assert_not_equal_substring (<parameter>const <link linkend="char"><type>char</type></link> *expected</parameter>,
                                <parameter>const <link linkend="char"><type>char</type></link> *actual</parameter>,
                                <parameter><link linkend="size-t"><type>size_t</type></link> length</parameter>,
                                <parameter>...</parameter>);</programlisting>
<para>Passes if (1) one of <parameter>expected</parameter>
 and <parameter>actual</parameter>
 is <link linkend="NULL:CAPS"><literal>NULL</literal></link> or
(2) strncmp(<parameter>expected</parameter>
, <parameter>actual</parameter>
, <parameter>length</parameter>
) != 0.</para>
<para>例:</para>
<informalexample><programlisting><![CDATA[
cut_assert_not_equal_substring("abc", "ABC", 3);       -> Pass
cut_assert_not_equal_substring("abc", NULL, 3);        -> Pass
cut_assert_not_equal_substring(NULL, "abc", 3);        -> Pass
cut_assert_not_equal_substring("abcdef", "abcDEF", 3); -> Fail
cut_assert_not_equal_substring(NULL, NULL, 0);         -> Fail
cut_assert_not_equal_substring(NULL, NULL, 3);         -> Fail
]]></programlisting></informalexample>
<para/>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する文字列。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の文字列の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>length</para></entry>
<entry role="parameter_description"><para>compared string length.</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.0.7から</para></refsect2>
<refsect2 id="cut-assert-equal-memory" role="function">
<title>cut_assert_equal_memory ()</title>
<indexterm zone="cut-assert-equal-memory"><primary>cut_assert_equal_memory</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_assert_equal_memory (<parameter>const <link linkend="void"><type>void</type></link> *expected</parameter>,
                         <parameter><link linkend="size-t"><type>size_t</type></link> expected_size</parameter>,
                         <parameter>const <link linkend="void"><type>void</type></link> *actual</parameter>,
                         <parameter><link linkend="size-t"><type>size_t</type></link> actual_size</parameter>,
                         <parameter>...</parameter>);</programlisting>
<para>Passes if <parameter>expected_size</parameter>
 == <parameter>actual_size</parameter>
 and
memcmp(<parameter>expected</parameter>
, <parameter>actual</parameter>
, <parameter>expected_size</parameter>
) == 0.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待するデータ。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>expected_size</para></entry>
<entry role="parameter_description"><para>a size of <parameter>expected</parameter>
.</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際のデータ。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual_size</para></entry>
<entry role="parameter_description"><para>a size of <parameter>actual</parameter>
.</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="cut-assert-not-equal-memory" role="function" condition="since:1.0.7">
<title>cut_assert_not_equal_memory ()</title>
<indexterm zone="cut-assert-not-equal-memory" role="1.0.7"><primary>cut_assert_not_equal_memory</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_assert_not_equal_memory (<parameter>const <link linkend="void"><type>void</type></link> *expected</parameter>,
                             <parameter><link linkend="size-t"><type>size_t</type></link> expected_size</parameter>,
                             <parameter>const <link linkend="void"><type>void</type></link> *actual</parameter>,
                             <parameter><link linkend="size-t"><type>size_t</type></link> actual_size</parameter>,
                             <parameter>...</parameter>);</programlisting>
<para>Passes if <parameter>expected_size</parameter>
 != <parameter>actual_size</parameter>
 or
memcmp(<parameter>expected</parameter>
, <parameter>actual</parameter>
, <parameter>expected_size</parameter>
) != 0.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待するデータ。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>expected_size</para></entry>
<entry role="parameter_description"><para>a size of <parameter>expected</parameter>
.</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際のデータ。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual_size</para></entry>
<entry role="parameter_description"><para>a size of <parameter>actual</parameter>
.</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.0.7から</para></refsect2>
<refsect2 id="cut-assert-equal-string-array" role="function">
<title>cut_assert_equal_string_array ()</title>
<indexterm zone="cut-assert-equal-string-array"><primary>cut_assert_equal_string_array</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_assert_equal_string_array (<parameter><link linkend="char"><type>char</type></link> **expected</parameter>,
                               <parameter><link linkend="char"><type>char</type></link> **actual</parameter>,
                               <parameter>...</parameter>);</programlisting>
<para><parameter>expected</parameter>と<parameter>actual</parameter>がどちらとも<link linkend="NULL:CAPS"><literal>NULL</literal></link>ではなく、どちらも同じ内容の文字列(<link linkend="strcmp"><function>strcmp()</function></link> == 0)を持つときにパスします。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する文字列の配列。配列は<link linkend="NULL:CAPS"><literal>NULL</literal></link>終端。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の文字列の配列。配列は<link linkend="NULL:CAPS"><literal>NULL</literal></link>終端。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="cut-assert-equal-string-array-with-free" role="function" condition="since:0.9">
<title>cut_assert_equal_string_array_with_free ()</title>
<indexterm zone="cut-assert-equal-string-array-with-free" role="0.9"><primary>cut_assert_equal_string_array_with_free</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_assert_equal_string_array_with_free
                               (<parameter><link linkend="char"><type>char</type></link> **expected</parameter>,
                                <parameter><link linkend="char"><type>char</type></link> **actual</parameter>,
                                <parameter>...</parameter>);</programlisting>
<para><parameter>expected</parameter>と<parameter>actual</parameter>がどちらとも<link linkend="NULL:CAPS"><literal>NULL</literal></link>ではなく、どちらも同じ内容の文字列(<link linkend="strcmp"><function>strcmp()</function></link> == 0)を持つときにパスします。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する文字列の配列。配列は<link linkend="NULL:CAPS"><literal>NULL</literal></link>終端。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の文字列の配列。配列は<link linkend="NULL:CAPS"><literal>NULL</literal></link>終端。（チェック後に開放される）</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">0.9から</para></refsect2>
<refsect2 id="cut-assert-operator" role="macro">
<title>cut_assert_operator()</title>
<indexterm zone="cut-assert-operator"><primary>cut_assert_operator</primary></indexterm>
<programlisting language="C">#define             cut_assert_operator(lhs, operator, rhs, ...)</programlisting>
<para>Passes if (<parameter>lhs</parameter>
 <parameter>operator</parameter>
 <parameter>rhs</parameter>
) is TRUE.</para>
<para>例:</para>
<informalexample><programlisting><![CDATA[
cut_assert_operator(1, <, 2) -> (1 < 2);
]]></programlisting></informalexample>
<para/>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>lhs</para></entry>
<entry role="parameter_description"><para>左辺値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>operator</para></entry>
<entry role="parameter_description"><para>二項演算子。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>rhs</para></entry>
<entry role="parameter_description"><para>右辺値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="cut-assert-operator-int" role="macro">
<title>cut_assert_operator_int()</title>
<indexterm zone="cut-assert-operator-int"><primary>cut_assert_operator_int</primary></indexterm>
<programlisting language="C">#define             cut_assert_operator_int(lhs, operator, rhs, ...)</programlisting>
<para>Passes if (<parameter>lhs</parameter>
 <parameter>operator</parameter>
 <parameter>rhs</parameter>
) is TRUE.</para>
<para>例:</para>
<informalexample><programlisting><![CDATA[
cut_assert_operator_int(1, <, 2) -> (1 < 2);
]]></programlisting></informalexample>
<para/>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>lhs</para></entry>
<entry role="parameter_description"><para>左辺の整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>operator</para></entry>
<entry role="parameter_description"><para>二項演算子。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>rhs</para></entry>
<entry role="parameter_description"><para>右辺の整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="cut-assert-operator-uint" role="macro" condition="since:1.0.5">
<title>cut_assert_operator_uint()</title>
<indexterm zone="cut-assert-operator-uint" role="1.0.5"><primary>cut_assert_operator_uint</primary></indexterm>
<programlisting language="C">#define             cut_assert_operator_uint(lhs, operator, rhs, ...)</programlisting>
<para>Passes if (<parameter>lhs</parameter>
 <parameter>operator</parameter>
 <parameter>rhs</parameter>
) is TRUE.</para>
<para>例:</para>
<informalexample><programlisting><![CDATA[
cut_assert_operator_uint(1, <, 2) -> (1 < 2);
]]></programlisting></informalexample>
<para/>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>lhs</para></entry>
<entry role="parameter_description"><para>左辺の符号無し整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>operator</para></entry>
<entry role="parameter_description"><para>二項演算子。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>rhs</para></entry>
<entry role="parameter_description"><para>右辺の符号無し整数の値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.0.5から</para></refsect2>
<refsect2 id="cut-assert-operator-size" role="macro" condition="since:1.0.5">
<title>cut_assert_operator_size()</title>
<indexterm zone="cut-assert-operator-size" role="1.0.5"><primary>cut_assert_operator_size</primary></indexterm>
<programlisting language="C">#define             cut_assert_operator_size(lhs, operator, rhs, ...)</programlisting>
<para>Passes if (<parameter>lhs</parameter>
 <parameter>operator</parameter>
 <parameter>rhs</parameter>
) is TRUE.</para>
<para>例:</para>
<informalexample><programlisting><![CDATA[
cut_assert_operator_size(1, <, 2) -> (1 < 2);
]]></programlisting></informalexample>
<para/>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>lhs</para></entry>
<entry role="parameter_description"><para>左辺のsize_tの値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>operator</para></entry>
<entry role="parameter_description"><para>二項演算子。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>rhs</para></entry>
<entry role="parameter_description"><para>右辺のsize_tの値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.0.5から</para></refsect2>
<refsect2 id="cut-assert-operator-double" role="macro" condition="since:1.0.5">
<title>cut_assert_operator_double()</title>
<indexterm zone="cut-assert-operator-double" role="1.0.5"><primary>cut_assert_operator_double</primary></indexterm>
<programlisting language="C">#define             cut_assert_operator_double(lhs, operator, rhs, ...)</programlisting>
<para>Passes if (<parameter>lhs</parameter>
 <parameter>operator</parameter>
 <parameter>rhs</parameter>
) is TRUE.</para>
<para>例:</para>
<informalexample><programlisting><![CDATA[
cut_assert_operator_double(1.1, <, 2.2) -> (1.1 < 2.2);
]]></programlisting></informalexample>
<para/>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>lhs</para></entry>
<entry role="parameter_description"><para>左辺の浮動小数点値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>operator</para></entry>
<entry role="parameter_description"><para>二項演算子。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>rhs</para></entry>
<entry role="parameter_description"><para>右辺の浮動小数点値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.0.5から</para></refsect2>
<refsect2 id="cut-assert-equal" role="macro">
<title>cut_assert_equal()</title>
<indexterm zone="cut-assert-equal"><primary>cut_assert_equal</primary></indexterm>
<programlisting language="C">#define             cut_assert_equal(function, expected, actual, ...)</programlisting>
<para>Passes if <parameter>function</parameter>
(<parameter>expected</parameter>
, <parameter>actual</parameter>
) returns <link linkend="CUT-TRUE:CAPS"><literal>CUT_TRUE</literal></link>.</para>
<para>例:</para>
<informalexample><programlisting><![CDATA[
cut_assert_equal(!strcmp, "abc", "abc"); -> Pass
]]></programlisting></informalexample>
<para/>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>function</para></entry>
<entry role="parameter_description"><para>a function that compares <parameter>actual</parameter>
with <parameter>expected</parameter>
.</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実測値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="cut-assert-errno" role="function" condition="since:0.8">
<title>cut_assert_errno ()</title>
<indexterm zone="cut-assert-errno" role="0.8"><primary>cut_assert_errno</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_assert_errno (<parameter>...</parameter>);</programlisting>
<para>errnoが0だとパスします。</para>
<para>例:</para>
<informalexample><programlisting><![CDATA[
count = write(stdout, buffer, strlen(buffer));
cut_assert_errno("Failed to write");            -> Pass when count != -1
]]></programlisting></informalexample>
<para/>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">0.8から</para></refsect2>
<refsect2 id="cut-assert-file-exist" role="function" condition="deprecated:1.0.2: Use cut_assert_path_exist() instead.|since:0.9">
<title>cut_assert_file_exist ()</title>
<indexterm zone="cut-assert-file-exist" role="deprecated"><primary>cut_assert_file_exist</primary></indexterm><indexterm zone="cut-assert-file-exist" role="0.9"><primary>cut_assert_file_exist</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_assert_file_exist (<parameter>const <link linkend="char"><type>char</type></link> *path</parameter>,
                       <parameter>...</parameter>);</programlisting>
<warning><para><literal>cut_assert_file_exist</literal> has been deprecated since version 1.0.2 and should not be used in newly-written code.</para> <para>Use <link linkend="cut-assert-path-exist"><function>cut_assert_path_exist()</function></link> instead.</para>
</warning>
<para><parameter>path</parameter>が存在するときにパスします。普通のファイルかもしれませんし、そうでないかもしれません。（例えばシンボリックリンクやディレクトリなど）</para>
<para>例:</para>
<informalexample><programlisting><![CDATA[
cut_assert_file_exist("/tmp");             -> Pass on many environment
cut_assert_file_exist("/non-existent");    -> Fail
]]></programlisting></informalexample>
<para/>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>path</para></entry>
<entry role="parameter_description"><para>テストするパス。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">0.9から</para></refsect2>
<refsect2 id="cut-assert-path-exist" role="function" condition="deprecated:1.1.5: Use cut_assert_exist_path() instead.|since:1.0.2">
<title>cut_assert_path_exist ()</title>
<indexterm zone="cut-assert-path-exist" role="deprecated"><primary>cut_assert_path_exist</primary></indexterm><indexterm zone="cut-assert-path-exist" role="1.0.2"><primary>cut_assert_path_exist</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_assert_path_exist (<parameter>const <link linkend="char"><type>char</type></link> *path</parameter>,
                       <parameter>...</parameter>);</programlisting>
<warning><para><literal>cut_assert_path_exist</literal> has been deprecated since version 1.1.5 and should not be used in newly-written code.</para> <para>Use <link linkend="cut-assert-exist-path"><function>cut_assert_exist_path()</function></link> instead.</para>
</warning>
<para><parameter>path</parameter>が存在するときにパスします。普通のファイルかもしれませんし、そうでないかもしれません。（例えばシンボリックリンクやディレクトリなど）</para>
<para>例:</para>
<informalexample><programlisting><![CDATA[
cut_assert_path_exist("/tmp");             -> Pass on many environment
cut_assert_path_exist("/non-existent");    -> Fail
]]></programlisting></informalexample>
<para/>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>path</para></entry>
<entry role="parameter_description"><para>テストするパス。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.0.2から</para></refsect2>
<refsect2 id="cut-assert-exist-path" role="function" condition="since:1.1.5">
<title>cut_assert_exist_path ()</title>
<indexterm zone="cut-assert-exist-path" role="1.1.5"><primary>cut_assert_exist_path</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_assert_exist_path (<parameter>const <link linkend="char"><type>char</type></link> *path</parameter>,
                       <parameter>...</parameter>);</programlisting>
<para><parameter>path</parameter>が存在するときにパスします。普通のファイルかもしれませんし、そうでないかもしれません。（例えばシンボリックリンクやディレクトリなど）</para>
<para>例:</para>
<informalexample><programlisting><![CDATA[
cut_assert_exist_path("/tmp");             -> Pass on many environment
cut_assert_exist_path("/non-existent");    -> Fail
]]></programlisting></informalexample>
<para/>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>path</para></entry>
<entry role="parameter_description"><para>テストするパス。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.5から</para></refsect2>
<refsect2 id="cut-assert-path-not-exist" role="function" condition="deprecated:1.1.5: Use cut_assert_not_exist_path() instead.|since:1.0.2">
<title>cut_assert_path_not_exist ()</title>
<indexterm zone="cut-assert-path-not-exist" role="deprecated"><primary>cut_assert_path_not_exist</primary></indexterm><indexterm zone="cut-assert-path-not-exist" role="1.0.2"><primary>cut_assert_path_not_exist</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_assert_path_not_exist (<parameter>const <link linkend="char"><type>char</type></link> *path</parameter>,
                           <parameter>...</parameter>);</programlisting>
<warning><para><literal>cut_assert_path_not_exist</literal> has been deprecated since version 1.1.5 and should not be used in newly-written code.</para> <para>Use <link linkend="cut-assert-not-exist-path"><function>cut_assert_not_exist_path()</function></link> instead.</para>
</warning>
<para><parameter>path</parameter>が存在しないとパスします。</para>
<para>例:</para>
<informalexample><programlisting><![CDATA[
cut_assert_path_not_exist("/non-existent");    -> Pass on many environment
cut_assert_path_not_exist("/tmp");             -> Fail
]]></programlisting></informalexample>
<para/>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>path</para></entry>
<entry role="parameter_description"><para>テストするパス。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.0.2から</para></refsect2>
<refsect2 id="cut-assert-not-exist-path" role="function" condition="since:1.1.5">
<title>cut_assert_not_exist_path ()</title>
<indexterm zone="cut-assert-not-exist-path" role="1.1.5"><primary>cut_assert_not_exist_path</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_assert_not_exist_path (<parameter>const <link linkend="char"><type>char</type></link> *path</parameter>,
                           <parameter>...</parameter>);</programlisting>
<para><parameter>path</parameter>が存在しないとパスします。</para>
<para>例:</para>
<informalexample><programlisting><![CDATA[
cut_assert_not_exist_path("/non-existent");    -> Pass on many environment
cut_assert_not_exist_path("/tmp");             -> Fail
]]></programlisting></informalexample>
<para/>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>path</para></entry>
<entry role="parameter_description"><para>テストするパス。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.5から</para></refsect2>
<refsect2 id="cut-assert-match" role="function" condition="since:1.0">
<title>cut_assert_match ()</title>
<indexterm zone="cut-assert-match" role="1.0"><primary>cut_assert_match</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_assert_match (<parameter>const <link linkend="char"><type>char</type></link> *pattern</parameter>,
                  <parameter>const <link linkend="char"><type>char</type></link> *actual</parameter>,
                  <parameter>...</parameter>);</programlisting>
<para>Passes if <parameter>pattern</parameter>
 matches <parameter>string</parameter>
.</para>
<para>例:</para>
<informalexample><programlisting><![CDATA[
cut_assert_match("^abc", "abc");            -> Pass
cut_assert_match("^abc", " abc");           -> Fail
]]></programlisting></informalexample>
<para/>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>pattern</para></entry>
<entry role="parameter_description"><para>正規表現。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>マッチされる文字列。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.0から</para></refsect2>
<refsect2 id="cut-assert-match-with-free" role="function" condition="since:1.0">
<title>cut_assert_match_with_free ()</title>
<indexterm zone="cut-assert-match-with-free" role="1.0"><primary>cut_assert_match_with_free</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_assert_match_with_free (<parameter>const <link linkend="char"><type>char</type></link> *pattern</parameter>,
                            <parameter>const <link linkend="char"><type>char</type></link> *actual</parameter>,
                            <parameter>...</parameter>);</programlisting>
<para>Passes if <parameter>pattern</parameter>
 matches <parameter>string</parameter>
. See <link linkend="cut-assert-match"><function>cut_assert_match()</function></link>
for detail.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>pattern</para></entry>
<entry role="parameter_description"><para>正規表現。（文字列で指定）</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>マッチされる文字列。（チェック後に開放される）</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.0から</para></refsect2>
<refsect2 id="cut-assert-equal-pointer" role="function" condition="since:1.0">
<title>cut_assert_equal_pointer ()</title>
<indexterm zone="cut-assert-equal-pointer" role="1.0"><primary>cut_assert_equal_pointer</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_assert_equal_pointer (<parameter>const <link linkend="void"><type>void</type></link> *expected</parameter>,
                          <parameter>const <link linkend="void"><type>void</type></link> *actual</parameter>,
                          <parameter>...</parameter>);</programlisting>
<para>Passes if <parameter>expected</parameter>
 == <parameter>actual</parameter>
.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待するポインタ。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際のポインタ。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.0から</para></refsect2>
<refsect2 id="cut-assert-equal-fixture-data-string" role="function" condition="since:1.0.2">
<title>cut_assert_equal_fixture_data_string ()</title>
<indexterm zone="cut-assert-equal-fixture-data-string" role="1.0.2"><primary>cut_assert_equal_fixture_data_string</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_assert_equal_fixture_data_string (<parameter>const <link linkend="char"><type>char</type></link> *expected</parameter>,
                                      <parameter>const <link linkend="void"><type>void</type></link> *path</parameter>,
                                      <parameter>...</parameter>);</programlisting>
<para>Passes if <parameter>expected</parameter>
 == cut_get_fixture_data_string(<parameter>path</parameter>
, ...).</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する文字列。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>path</para></entry>
<entry role="parameter_description"><para>フィクスチャデータのパスの最初の要素。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>パスの残りの要素。<link linkend="NULL:CAPS"><literal>NULL</literal></link>終端。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.0.2から</para></refsect2>
<refsect2 id="cut-assert-equal-sockaddr" role="macro" condition="since:1.1.1">
<title>cut_assert_equal_sockaddr()</title>
<indexterm zone="cut-assert-equal-sockaddr" role="1.1.1"><primary>cut_assert_equal_sockaddr</primary></indexterm>
<programlisting language="C">#define             cut_assert_equal_sockaddr(expected, actual, ...)</programlisting>
<para>Passes if <parameter>expected</parameter>
 == <parameter>actual</parameter>
.</para>
<para>この検証はCUT_DISABLE_SOCKET_SUPPORTを定義すると無効にできます。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待するソケットアドレス。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際のソケットアドレス。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.1から</para></refsect2>
<refsect2 id="cut-assert-equal-file-raw" role="macro" condition="since:1.1.4">
<title>cut_assert_equal_file_raw()</title>
<indexterm zone="cut-assert-equal-file-raw" role="1.1.4"><primary>cut_assert_equal_file_raw</primary></indexterm>
<programlisting language="C">#define             cut_assert_equal_file_raw(expected, actual, ...)</programlisting>
<para>Passes if the content of <parameter>expected</parameter>
 == the content of <parameter>actual</parameter>
.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>パス。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>パス。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.4から</para></refsect2>
<refsect2 id="cut-assert-not-equal-file-raw" role="macro" condition="since:1.1.4">
<title>cut_assert_not_equal_file_raw()</title>
<indexterm zone="cut-assert-not-equal-file-raw" role="1.1.4"><primary>cut_assert_not_equal_file_raw</primary></indexterm>
<programlisting language="C">#define             cut_assert_not_equal_file_raw(expected, actual, ...)</programlisting>
<para>Passes if the content of <parameter>expected</parameter>
 != the content of <parameter>actual</parameter>
.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>パス。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>パス。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.4から</para></refsect2>
<refsect2 id="cut-error" role="function">
<title>cut_error ()</title>
<indexterm zone="cut-error"><primary>cut_error</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_error (<parameter>const <link linkend="char"><type>char</type></link> *format</parameter>,
           <parameter>...</parameter>);</programlisting>
<para>メッセージ付きでエラーを発生させます。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>format</para></entry>
<entry role="parameter_description"><para>整形文字列。<link linkend="printf"><function>printf()</function></link>のドキュメントを見てください。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>整形文字列に挿入されるパラメータ。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="cut-error-errno" role="function" condition="since:1.0.2">
<title>cut_error_errno ()</title>
<indexterm zone="cut-error-errno" role="1.0.2"><primary>cut_error_errno</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_error_errno (<parameter>...</parameter>);</programlisting>
<para>例:</para>
<informalexample><programlisting><![CDATA[
void
setup (void)
{
    mkdir("tmp", 0700);
    cut_error_errno("Failed to make tmp directory");
      -> Error when tmp directory isn't made successfully.
}
]]></programlisting></informalexample>
<para/>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.0.2から</para></refsect2>
<refsect2 id="cut-fail" role="function">
<title>cut_fail ()</title>
<indexterm zone="cut-fail"><primary>cut_fail</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_fail (<parameter>const <link linkend="char"><type>char</type></link> *format</parameter>,
          <parameter>...</parameter>);</programlisting>
<para>メッセージ付きでテストを失敗させます。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>format</para></entry>
<entry role="parameter_description"><para>整形文字列。<link linkend="printf"><function>printf()</function></link>のドキュメントを見てください。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>整形文字列に挿入されるパラメータ。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="cut-pend" role="function">
<title>cut_pend ()</title>
<indexterm zone="cut-pend"><primary>cut_pend</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_pend (<parameter>const <link linkend="char"><type>char</type></link> *format</parameter>,
          <parameter>...</parameter>);</programlisting>
<para>メッセージ付きでこのテストが未解決であると印を付けます。テストはここで中断します。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>format</para></entry>
<entry role="parameter_description"><para>整形文字列。<link linkend="printf"><function>printf()</function></link>のドキュメントを見てください。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>整形文字列に挿入されるパラメータ。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="cut-pending" role="function" condition="deprecated:0.4: Use cut_pend() instead.">
<title>cut_pending ()</title>
<indexterm zone="cut-pending" role="deprecated"><primary>cut_pending</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_pending (<parameter>const <link linkend="char"><type>char</type></link> *format</parameter>,
             <parameter>...</parameter>);</programlisting>
<warning><para><literal>cut_pending</literal> has been deprecated since version 0.4 and should not be used in newly-written code.</para> <para>Use <link linkend="cut-pend"><function>cut_pend()</function></link> instead.</para>
</warning>
<para>メッセージ付きでこのテストが未解決であると印を付けます。テストはここで中断します。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>format</para></entry>
<entry role="parameter_description"><para>整形文字列。<link linkend="printf"><function>printf()</function></link>のドキュメントを見てください。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>整形文字列に挿入されるパラメータ。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="cut-notify" role="function">
<title>cut_notify ()</title>
<indexterm zone="cut-notify"><primary>cut_notify</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_notify (<parameter>const <link linkend="char"><type>char</type></link> *format</parameter>,
            <parameter>...</parameter>);</programlisting>
<para>通知用のメッセージを残します。テストは続行します。</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>format</para></entry>
<entry role="parameter_description"><para>整形文字列。<link linkend="printf"><function>printf()</function></link>のドキュメントを見てください。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>整形文字列に挿入されるパラメータ。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="cut-omit" role="function" condition="since:0.8">
<title>cut_omit ()</title>
<indexterm zone="cut-omit" role="0.8"><primary>cut_omit</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_omit (<parameter>const <link linkend="char"><type>char</type></link> *format</parameter>,
          <parameter>...</parameter>);</programlisting>
<para>このテストを省略します。</para>
<para>例:</para>
<informalexample><programlisting><![CDATA[
if (version < 2.0)
  cut_omit("Require >= 2.0");
]]></programlisting></informalexample>
<para/>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>format</para></entry>
<entry role="parameter_description"><para>整形文字列。<link linkend="printf"><function>printf()</function></link>のドキュメントを見てください。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>整形文字列に挿入されるパラメータ。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">0.8から</para></refsect2>
<refsect2 id="cut-return" role="function" condition="since:1.0.6">
<title>cut_return ()</title>
<indexterm zone="cut-return" role="1.0.6"><primary>cut_return</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_return (<parameter><type>void</type></parameter>);</programlisting>
<para>このテストを終了します。</para>
<para>例:</para>
<informalexample><programlisting><![CDATA[
static void
sub_xxx (void)
{
  some_assertions();
  if (no_need_more_test)
    cut_return();
  some_assertions();
}

void
test_xxx (void)
{
   some_assertions();
   cut_trace(sub_xxx());
   some_assertions();
}
]]></programlisting></informalexample>
<para/>
<para role="since">1.0.6から</para></refsect2>

</refsect1>
<refsect1 id="cutter-Assertions.other_details" role="details">
<title role="details.title">Types and Values</title>

</refsect1>

</refentry>
