<?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">Assertions</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>CUTTER Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>Assertions</refname>
<refpurpose>Checks that your program works as you expect.</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>&#160;<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>&#160;<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>&#160;<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>&#160;<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>&#160;<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>&#160;<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>&#160;<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>&#160;<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>&#160;<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>&#160;<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>&#160;<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>&#160;<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>&#160;<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>&#160;<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>&#160;<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>&#160;<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>&#160;<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>&#160;<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>&#160;<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>&#160;<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>&#160;<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>&#160;<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>&#160;<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>&#160;<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>&#160;<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>&#160;<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>&#160;<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>&#160;<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>&#160;<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>&#160;<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>&#160;<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>&#160;<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>&#160;<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>&#160;<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>&#160;<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>&#160;<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>&#160;<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>&#160;<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>&#160;<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>&#160;<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>&#160;<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>&#160;<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>&#160;<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>&#160;<phrase role="c_punctuation">()</phrase></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>


<refsect1 id="cutter-Assertions.description" role="desc">
<title role="desc.title">Description</title>
<para>To check that your program works as you expect, you use
<link linkend="cut-assert-XXX"><function>cut_assert_XXX()</function></link> where you want to check expected value
is got.</para>
<para>e.g.:</para>
<informalexample><programlisting><![CDATA[
cut_assert_equal_int(3, 1 + 2);
]]></programlisting></informalexample>
<para></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&#160;()</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>Passes if <parameter>expression</parameter>
 is not 0 or <link linkend="NULL:CAPS"><literal>NULL</literal></link>.</para>
<para>e.g.:</para>
<informalexample><programlisting><![CDATA[
char *string;
string = malloc(16);
cut_assert(string);
]]></programlisting></informalexample>
<para></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></para>
<refsect3 id="cut-assert.parameters" 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>the expression to be checked.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="cut-assert-true" role="function" condition="since:0.9">
<title>cut_assert_true&#160;()</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>Passes if <parameter>expression</parameter>
 is <link linkend="CUT-TRUE:CAPS"><literal>CUT_TRUE</literal></link> value (not 0 or <link linkend="NULL:CAPS"><literal>NULL</literal></link>).</para>
<refsect3 id="cut-assert-true.parameters" 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>the expression to be checked.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-0.9">0.9</link></para></refsect2>
<refsect2 id="cut-assert-false" role="function" condition="since:0.9">
<title>cut_assert_false&#160;()</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>Passes if <parameter>expression</parameter>
 is 0 or <link linkend="NULL:CAPS"><literal>NULL</literal></link>.</para>
<refsect3 id="cut-assert-false.parameters" 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>the expression to be checked.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-0.9">0.9</link></para></refsect2>
<refsect2 id="cut-assert-equal-boolean" role="function" condition="since:1.0.7">
<title>cut_assert_equal_boolean&#160;()</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>Passes if both of <parameter>expected</parameter>
 and <parameter>actual</parameter>
 are <link linkend="CUT-TRUE:CAPS"><literal>CUT_TRUE</literal></link>
value or both of <parameter>expected</parameter>
 and <parameter>actual</parameter>
 are <link linkend="CUT-FALSE:CAPS"><literal>CUT_FALSE</literal></link>
value.</para>
<para>e.g.:</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></para>
<refsect3 id="cut-assert-equal-boolean.parameters" 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>the expected boolean.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>the actual boolean.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.0.7">1.0.7</link></para></refsect2>
<refsect2 id="cut-assert-not-equal-boolean" role="function" condition="since:1.0.7">
<title>cut_assert_not_equal_boolean&#160;()</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>Passes if <parameter>expected</parameter>
 is <link linkend="CUT-TRUE:CAPS"><literal>CUT_TRUE</literal></link> value
but <parameter>actual</parameter>
 is <link linkend="CUT-FALSE:CAPS"><literal>CUT_FALSE</literal></link> value or <parameter>expected</parameter>
 is
<link linkend="CUT-FALSE:CAPS"><literal>CUT_FALSE</literal></link> value but <parameter>actual</parameter>
 is <link linkend="CUT-TRUE:CAPS"><literal>CUT_TRUE</literal></link> value.</para>
<para>e.g.:</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></para>
<refsect3 id="cut-assert-not-equal-boolean.parameters" 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>the expected boolean.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>the actual boolean.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.0.7">1.0.7</link></para></refsect2>
<refsect2 id="cut-assert-null" role="function">
<title>cut_assert_null&#160;()</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>Passes if <parameter>expression</parameter>
 is <link linkend="NULL:CAPS"><literal>NULL</literal></link>.</para>
<refsect3 id="cut-assert-null.parameters" 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>the expression to be checked.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="cut-assert-null-string" role="function" condition="since:0.3">
<title>cut_assert_null_string&#160;()</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>Passes if <parameter>string</parameter>
 is <link linkend="NULL:CAPS"><literal>NULL</literal></link>.</para>
<refsect3 id="cut-assert-null-string.parameters" 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>the string to be checked.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-0.3">0.3</link></para></refsect2>
<refsect2 id="cut-assert-not-null" role="function">
<title>cut_assert_not_null&#160;()</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>Passes if <parameter>expression</parameter>
 is not <link linkend="NULL:CAPS"><literal>NULL</literal></link>.</para>
<refsect3 id="cut-assert-not-null.parameters" 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>the expression to be checked.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="cut-assert-equal-int" role="function">
<title>cut_assert_equal_int&#160;()</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 id="cut-assert-equal-int.parameters" 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>an expected integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></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&#160;()</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 id="cut-assert-not-equal-int.parameters" 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>an expected integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.0.7">1.0.7</link></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>This function is available only when
CUT_SUPPORT_C99_STDINT_TYPES is defined.</para>
<refsect3 id="cut-assert-equal-int-least8.parameters" 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>an expected integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.0">1.1.0</link></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>This function is available only when
CUT_SUPPORT_C99_STDINT_TYPES is defined.</para>
<refsect3 id="cut-assert-not-equal-int-least8.parameters" 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>an expected integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.0">1.1.0</link></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>This function is available only when
CUT_SUPPORT_C99_STDINT_TYPES is defined.</para>
<refsect3 id="cut-assert-equal-int-least16.parameters" 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>an expected integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.0">1.1.0</link></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>This function is available only when
CUT_SUPPORT_C99_STDINT_TYPES is defined.</para>
<refsect3 id="cut-assert-not-equal-int-least16.parameters" 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>an expected integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.0">1.1.0</link></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>This function is available only when
CUT_SUPPORT_C99_STDINT_TYPES is defined.</para>
<refsect3 id="cut-assert-equal-int-least32.parameters" 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>an expected integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.0">1.1.0</link></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>This function is available only when
CUT_SUPPORT_C99_STDINT_TYPES is defined.</para>
<refsect3 id="cut-assert-not-equal-int-least32.parameters" 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>an expected integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.0">1.1.0</link></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>This function is available only when
CUT_SUPPORT_C99_STDINT_TYPES is defined.</para>
<refsect3 id="cut-assert-equal-int-least64.parameters" 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>an expected integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.0">1.1.0</link></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>This function is available only when
CUT_SUPPORT_C99_STDINT_TYPES is defined.</para>
<refsect3 id="cut-assert-not-equal-int-least64.parameters" 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>an expected integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.0">1.1.0</link></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>This function is available only when
CUT_SUPPORT_C99_STDINT_TYPES is defined.</para>
<refsect3 id="cut-assert-equal-int-fast8.parameters" 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>an expected integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.0">1.1.0</link></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>This function is available only when
CUT_SUPPORT_C99_STDINT_TYPES is defined.</para>
<refsect3 id="cut-assert-not-equal-int-fast8.parameters" 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>an expected integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.0">1.1.0</link></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>This function is available only when
CUT_SUPPORT_C99_STDINT_TYPES is defined.</para>
<refsect3 id="cut-assert-equal-int-fast16.parameters" 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>an expected integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.0">1.1.0</link></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>This function is available only when
CUT_SUPPORT_C99_STDINT_TYPES is defined.</para>
<refsect3 id="cut-assert-not-equal-int-fast16.parameters" 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>an expected integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.0">1.1.0</link></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>This function is available only when
CUT_SUPPORT_C99_STDINT_TYPES is defined.</para>
<refsect3 id="cut-assert-equal-int-fast32.parameters" 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>an expected integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.0">1.1.0</link></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>This function is available only when
CUT_SUPPORT_C99_STDINT_TYPES is defined.</para>
<refsect3 id="cut-assert-not-equal-int-fast32.parameters" 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>an expected integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.0">1.1.0</link></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>This function is available only when
CUT_SUPPORT_C99_STDINT_TYPES is defined.</para>
<refsect3 id="cut-assert-equal-int-fast64.parameters" 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>an expected integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.0">1.1.0</link></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>This function is available only when
CUT_SUPPORT_C99_STDINT_TYPES is defined.</para>
<refsect3 id="cut-assert-not-equal-int-fast64.parameters" 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>an expected integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.0">1.1.0</link></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>This function is available only when
CUT_SUPPORT_C99_STDINT_TYPES is defined.</para>
<refsect3 id="cut-assert-equal-intptr.parameters" 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>an expected integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.0">1.1.0</link></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>This function is available only when
CUT_SUPPORT_C99_STDINT_TYPES is defined.</para>
<refsect3 id="cut-assert-not-equal-intptr.parameters" 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>an expected integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.0">1.1.0</link></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>This function is available only when
CUT_SUPPORT_C99_STDINT_TYPES is defined.</para>
<refsect3 id="cut-assert-equal-intmax.parameters" 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>an expected integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.0">1.1.0</link></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>This function is available only when
CUT_SUPPORT_C99_STDINT_TYPES is defined.</para>
<refsect3 id="cut-assert-not-equal-intmax.parameters" 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>an expected integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.0">1.1.0</link></para></refsect2>
<refsect2 id="cut-assert-equal-uint" role="function">
<title>cut_assert_equal_uint&#160;()</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 id="cut-assert-equal-uint.parameters" 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>an expected unsigned integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual unsigned integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></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&#160;()</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 id="cut-assert-not-equal-uint.parameters" 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>an expected unsigned integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual unsigned integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.0.7">1.0.7</link></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>This function is available only when
CUT_SUPPORT_C99_STDINT_TYPES is defined.</para>
<refsect3 id="cut-assert-equal-uint-least8.parameters" 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>an expected unsigned integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual unsigned integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.0">1.1.0</link></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>This function is available only when
CUT_SUPPORT_C99_STDINT_TYPES is defined.</para>
<refsect3 id="cut-assert-not-equal-uint-least8.parameters" 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>an expected unsigned integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual unsigned integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.0">1.1.0</link></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>This function is available only when
CUT_SUPPORT_C99_STDINT_TYPES is defined.</para>
<refsect3 id="cut-assert-equal-uint-least16.parameters" 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>an expected unsigned integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual unsigned integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.0">1.1.0</link></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>This function is available only when
CUT_SUPPORT_C99_STDINT_TYPES is defined.</para>
<refsect3 id="cut-assert-not-equal-uint-least16.parameters" 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>an expected unsigned integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual unsigned integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.0">1.1.0</link></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>This function is available only when
CUT_SUPPORT_C99_STDINT_TYPES is defined.</para>
<refsect3 id="cut-assert-equal-uint-least32.parameters" 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>an expected unsigned integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual unsigned integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.0">1.1.0</link></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>This function is available only when
CUT_SUPPORT_C99_STDINT_TYPES is defined.</para>
<refsect3 id="cut-assert-not-equal-uint-least32.parameters" 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>an expected unsigned integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual unsigned integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.0">1.1.0</link></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>This function is available only when
CUT_SUPPORT_C99_STDINT_TYPES is defined.</para>
<refsect3 id="cut-assert-equal-uint-least64.parameters" 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>an expected unsigned integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual unsigned integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.0">1.1.0</link></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>This function is available only when
CUT_SUPPORT_C99_STDINT_TYPES is defined.</para>
<refsect3 id="cut-assert-not-equal-uint-least64.parameters" 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>an expected unsigned integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual unsigned integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.0">1.1.0</link></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>This function is available only when
CUT_SUPPORT_C99_STDINT_TYPES is defined.</para>
<refsect3 id="cut-assert-equal-uint-fast8.parameters" 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>an expected unsigned integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual unsigned integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.0">1.1.0</link></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>This function is available only when
CUT_SUPPORT_C99_STDINT_TYPES is defined.</para>
<refsect3 id="cut-assert-not-equal-uint-fast8.parameters" 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>an expected unsigned integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual unsigned integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.0">1.1.0</link></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>This function is available only when
CUT_SUPPORT_C99_STDINT_TYPES is defined.</para>
<refsect3 id="cut-assert-equal-uint-fast16.parameters" 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>an expected unsigned integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual unsigned integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.0">1.1.0</link></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>This function is available only when
CUT_SUPPORT_C99_STDINT_TYPES is defined.</para>
<refsect3 id="cut-assert-not-equal-uint-fast16.parameters" 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>an expected unsigned integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual unsigned integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.0">1.1.0</link></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>This function is available only when
CUT_SUPPORT_C99_STDINT_TYPES is defined.</para>
<refsect3 id="cut-assert-equal-uint-fast32.parameters" 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>an expected unsigned integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual unsigned integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.0">1.1.0</link></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>This function is available only when
CUT_SUPPORT_C99_STDINT_TYPES is defined.</para>
<refsect3 id="cut-assert-not-equal-uint-fast32.parameters" 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>an expected unsigned integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual unsigned integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.0">1.1.0</link></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>This function is available only when
CUT_SUPPORT_C99_STDINT_TYPES is defined.</para>
<refsect3 id="cut-assert-equal-uint-fast64.parameters" 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>an expected unsigned integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual unsigned integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.0">1.1.0</link></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>This function is available only when
CUT_SUPPORT_C99_STDINT_TYPES is defined.</para>
<refsect3 id="cut-assert-not-equal-uint-fast64.parameters" 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>an expected unsigned integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual unsigned integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.0">1.1.0</link></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>This function is available only when
CUT_SUPPORT_C99_STDINT_TYPES is defined.</para>
<refsect3 id="cut-assert-equal-uintptr.parameters" 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>an expected unsigned integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual unsigned integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.0">1.1.0</link></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>This function is available only when
CUT_SUPPORT_C99_STDINT_TYPES is defined.</para>
<refsect3 id="cut-assert-not-equal-uintptr.parameters" 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>an expected unsigned integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual unsigned integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.0">1.1.0</link></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>This function is available only when
CUT_SUPPORT_C99_STDINT_TYPES is defined.</para>
<refsect3 id="cut-assert-equal-uintmax.parameters" 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>an expected unsigned integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual unsigned integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.0">1.1.0</link></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>This function is available only when
CUT_SUPPORT_C99_STDINT_TYPES is defined.</para>
<refsect3 id="cut-assert-not-equal-uintmax.parameters" 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>an expected unsigned integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual unsigned integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.0">1.1.0</link></para></refsect2>
<refsect2 id="cut-assert-equal-size" role="function" condition="since:1.0.6">
<title>cut_assert_equal_size&#160;()</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 id="cut-assert-equal-size.parameters" 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>an expected size_t value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual size_t value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.0.6">1.0.6</link></para></refsect2>
<refsect2 id="cut-assert-not-equal-size" role="function" condition="since:1.0.7">
<title>cut_assert_not_equal_size&#160;()</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 id="cut-assert-not-equal-size.parameters" 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>an expected size_t value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual size_t value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.0.7">1.0.7</link></para></refsect2>
<refsect2 id="cut-assert-equal-double" role="function">
<title>cut_assert_equal_double&#160;()</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 id="cut-assert-equal-double.parameters" 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>an expected float value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>error</para></entry>
<entry role="parameter_description"><para>a float value that specifies error range.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual float value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></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&#160;()</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 id="cut-assert-not-equal-double.parameters" 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>an expected float value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>error</para></entry>
<entry role="parameter_description"><para>a float value that specifies error range.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual float value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.0.7">1.0.7</link></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>e.g.:</para>
<informalexample><programlisting><![CDATA[
cut_assert_equal_char('a', 'a'); -> Pass
cut_assert_equal_char('a', 'b'); -> Fail
]]></programlisting></informalexample>
<para></para>
<refsect3 id="cut-assert-equal-char.parameters" 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>an expected char value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual char value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.3">1.1.3</link></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>e.g.:</para>
<informalexample><programlisting><![CDATA[
cut_assert_not_equal_char('a', 'b'); -> Pass
cut_assert_not_equal_char('a', 'a'); -> Fail
]]></programlisting></informalexample>
<para></para>
<refsect3 id="cut-assert-not-equal-char.parameters" 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>an expected char value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual char value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.3">1.1.3</link></para></refsect2>
<refsect2 id="cut-assert-equal-string" role="function">
<title>cut_assert_equal_string&#160;()</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>e.g.:</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></para>
<refsect3 id="cut-assert-equal-string.parameters" 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>an expected string value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual string value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></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&#160;()</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>e.g.:</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></para>
<refsect3 id="cut-assert-not-equal-string.parameters" 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>an expected string value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual string value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.0.7">1.0.7</link></para></refsect2>
<refsect2 id="cut-assert-equal-string-with-free" role="function" condition="since:0.3">
<title>cut_assert_equal_string_with_free&#160;()</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>See also <link linkend="cut-assert-equal-string"><function>cut_assert_equal_string()</function></link> for examples.</para>
<refsect3 id="cut-assert-equal-string-with-free.parameters" 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>an expected string value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual string value that is freed.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-0.3">0.3</link></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&#160;()</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 id="cut-assert-equal-string-or-null.parameters" 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>an expected string value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual string value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="cut-assert-equal-substring" role="function" condition="since:1.0.7">
<title>cut_assert_equal_substring&#160;()</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>e.g.:</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></para>
<refsect3 id="cut-assert-equal-substring.parameters" 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>an expected string value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual string value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>length</para></entry>
<entry role="parameter_description"><para>compared string length.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.0.7">1.0.7</link></para></refsect2>
<refsect2 id="cut-assert-not-equal-substring" role="function" condition="since:1.0.7">
<title>cut_assert_not_equal_substring&#160;()</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>e.g.:</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></para>
<refsect3 id="cut-assert-not-equal-substring.parameters" 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>an expected string value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual string value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>length</para></entry>
<entry role="parameter_description"><para>compared string length.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.0.7">1.0.7</link></para></refsect2>
<refsect2 id="cut-assert-equal-memory" role="function">
<title>cut_assert_equal_memory&#160;()</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 id="cut-assert-equal-memory.parameters" 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>an expected data.</para></entry>
<entry role="parameter_annotations"></entry></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"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual data.</para></entry>
<entry role="parameter_annotations"></entry></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"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></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&#160;()</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 id="cut-assert-not-equal-memory.parameters" 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>an expected data.</para></entry>
<entry role="parameter_annotations"></entry></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"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual data.</para></entry>
<entry role="parameter_annotations"></entry></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"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.0.7">1.0.7</link></para></refsect2>
<refsect2 id="cut-assert-equal-string-array" role="function">
<title>cut_assert_equal_string_array&#160;()</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>Passes if both <parameter>expected</parameter>
 and <parameter>actual</parameter>
 are not <link linkend="NULL:CAPS"><literal>NULL</literal></link> and
have same content (<link linkend="strcmp"><function>strcmp()</function></link> == 0) strings.</para>
<refsect3 id="cut-assert-equal-string-array.parameters" 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>an expected <link linkend="NULL:CAPS"><literal>NULL</literal></link>-terminated array of strings.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual <link linkend="NULL:CAPS"><literal>NULL</literal></link>-terminated array of strings.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></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&#160;()</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>Passes if both <parameter>expected</parameter>
 and <parameter>actual</parameter>
 are not <link linkend="NULL:CAPS"><literal>NULL</literal></link> and
have same content (<link linkend="strcmp"><function>strcmp()</function></link> == 0) strings.</para>
<refsect3 id="cut-assert-equal-string-array-with-free.parameters" 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>an expected <link linkend="NULL:CAPS"><literal>NULL</literal></link>-terminated array of strings.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual <link linkend="NULL:CAPS"><literal>NULL</literal></link>-terminated array of strings that are freed.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-0.9">0.9</link></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>e.g.:</para>
<informalexample><programlisting><![CDATA[
cut_assert_operator(1, <, 2) -> (1 < 2);
]]></programlisting></informalexample>
<para></para>
<refsect3 id="cut-assert-operator.parameters" 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>a left hand side value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>operator</para></entry>
<entry role="parameter_description"><para>a binary operator.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>rhs</para></entry>
<entry role="parameter_description"><para>a right hand side value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></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>e.g.:</para>
<informalexample><programlisting><![CDATA[
cut_assert_operator_int(1, <, 2) -> (1 < 2);
]]></programlisting></informalexample>
<para></para>
<refsect3 id="cut-assert-operator-int.parameters" 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>a left hand side integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>operator</para></entry>
<entry role="parameter_description"><para>a binary operator.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>rhs</para></entry>
<entry role="parameter_description"><para>a right hand side integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></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>e.g.:</para>
<informalexample><programlisting><![CDATA[
cut_assert_operator_uint(1, <, 2) -> (1 < 2);
]]></programlisting></informalexample>
<para></para>
<refsect3 id="cut-assert-operator-uint.parameters" 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>a left hand side unsigned integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>operator</para></entry>
<entry role="parameter_description"><para>a binary operator.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>rhs</para></entry>
<entry role="parameter_description"><para>a right hand side unsigned integer value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.0.5">1.0.5</link></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>e.g.:</para>
<informalexample><programlisting><![CDATA[
cut_assert_operator_size(1, <, 2) -> (1 < 2);
]]></programlisting></informalexample>
<para></para>
<refsect3 id="cut-assert-operator-size.parameters" 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>a left hand side size_t value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>operator</para></entry>
<entry role="parameter_description"><para>a binary operator.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>rhs</para></entry>
<entry role="parameter_description"><para>a right hand side size_t value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.0.5">1.0.5</link></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>e.g.:</para>
<informalexample><programlisting><![CDATA[
cut_assert_operator_double(1.1, <, 2.2) -> (1.1 < 2.2);
]]></programlisting></informalexample>
<para></para>
<refsect3 id="cut-assert-operator-double.parameters" 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>a left hand side double value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>operator</para></entry>
<entry role="parameter_description"><para>a binary operator.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>rhs</para></entry>
<entry role="parameter_description"><para>a right hand side double value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.0.5">1.0.5</link></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>e.g.:</para>
<informalexample><programlisting><![CDATA[
cut_assert_equal(!strcmp, "abc", "abc"); -> Pass
]]></programlisting></informalexample>
<para></para>
<refsect3 id="cut-assert-equal.parameters" 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"></entry></row>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>an expected value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="cut-assert-errno" role="function" condition="since:0.8">
<title>cut_assert_errno&#160;()</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>Passes if errno is 0.</para>
<para>e.g.:</para>
<informalexample><programlisting><![CDATA[
count = write(stdout, buffer, strlen(buffer));
cut_assert_errno("Failed to write");            -> Pass when count != -1
]]></programlisting></informalexample>
<para></para>
<refsect3 id="cut-assert-errno.parameters" 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>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-0.8">0.8</link></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&#160;()</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>Passes if <parameter>path</parameter>
 exists. It may or may not be a regular file.</para>
<para>e.g.:</para>
<informalexample><programlisting><![CDATA[
cut_assert_file_exist("/tmp");             -> Pass on many environment
cut_assert_file_exist("/non-existent");    -> Fail
]]></programlisting></informalexample>
<para></para>
<refsect3 id="cut-assert-file-exist.parameters" 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>the path to test.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-0.9">0.9</link></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&#160;()</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>Passes if <parameter>path</parameter>
 exists. It may or may not be a regular file.</para>
<para>e.g.:</para>
<informalexample><programlisting><![CDATA[
cut_assert_path_exist("/tmp");             -> Pass on many environment
cut_assert_path_exist("/non-existent");    -> Fail
]]></programlisting></informalexample>
<para></para>
<refsect3 id="cut-assert-path-exist.parameters" 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>the path to test.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.0.2">1.0.2</link></para></refsect2>
<refsect2 id="cut-assert-exist-path" role="function" condition="since:1.1.5">
<title>cut_assert_exist_path&#160;()</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>Passes if <parameter>path</parameter>
 exists. It may or may not be a regular file.</para>
<para>e.g.:</para>
<informalexample><programlisting><![CDATA[
cut_assert_exist_path("/tmp");             -> Pass on many environment
cut_assert_exist_path("/non-existent");    -> Fail
]]></programlisting></informalexample>
<para></para>
<refsect3 id="cut-assert-exist-path.parameters" 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>the path to test.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.5">1.1.5</link></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&#160;()</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>Passes if <parameter>path</parameter>
 doesn't exist.</para>
<para>e.g.:</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></para>
<refsect3 id="cut-assert-path-not-exist.parameters" 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>the path to test.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.0.2">1.0.2</link></para></refsect2>
<refsect2 id="cut-assert-not-exist-path" role="function" condition="since:1.1.5">
<title>cut_assert_not_exist_path&#160;()</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>Passes if <parameter>path</parameter>
 doesn't exist.</para>
<para>e.g.:</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></para>
<refsect3 id="cut-assert-not-exist-path.parameters" 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>the path to test.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.5">1.1.5</link></para></refsect2>
<refsect2 id="cut-assert-match" role="function" condition="since:1.0">
<title>cut_assert_match&#160;()</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>e.g.:</para>
<informalexample><programlisting><![CDATA[
cut_assert_match("^abc", "abc");            -> Pass
cut_assert_match("^abc", " abc");           -> Fail
]]></programlisting></informalexample>
<para></para>
<refsect3 id="cut-assert-match.parameters" 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>the regular expression pattern.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>the string to be matched.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.0">1.0</link></para></refsect2>
<refsect2 id="cut-assert-match-with-free" role="function" condition="since:1.0">
<title>cut_assert_match_with_free&#160;()</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 id="cut-assert-match-with-free.parameters" 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>the regular expression as string.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>the string to be matched that is freed.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.0">1.0</link></para></refsect2>
<refsect2 id="cut-assert-equal-pointer" role="function" condition="since:1.0">
<title>cut_assert_equal_pointer&#160;()</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 id="cut-assert-equal-pointer.parameters" 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>an expected pointer.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual pointer.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.0">1.0</link></para></refsect2>
<refsect2 id="cut-assert-equal-fixture-data-string" role="function" condition="since:1.0.2">
<title>cut_assert_equal_fixture_data_string&#160;()</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 id="cut-assert-equal-fixture-data-string.parameters" 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>an expected string.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>path</para></entry>
<entry role="parameter_description"><para>a first element of the path to the fixture data.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>remaining elements in path. <link linkend="NULL:CAPS"><literal>NULL</literal></link> terminated.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.0.2">1.0.2</link></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>This assertion can be disabled by defining CUT_DISABLE_SOCKET_SUPPORT.</para>
<refsect3 id="cut-assert-equal-sockaddr.parameters" 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>an expected socket address.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual socket address.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.1">1.1.1</link></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 id="cut-assert-equal-file-raw.parameters" 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>a path.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>a path.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.4">1.1.4</link></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 id="cut-assert-not-equal-file-raw.parameters" 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>a path.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>a path.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.4">1.1.4</link></para></refsect2>
<refsect2 id="cut-error" role="function">
<title>cut_error&#160;()</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>Raises an error with message.</para>
<refsect3 id="cut-error.parameters" 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>the message format. See the <link linkend="printf"><function>printf()</function></link> documentation.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>the parameters to insert into the format string.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="cut-error-errno" role="function" condition="since:1.0.2">
<title>cut_error_errno&#160;()</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>e.g.:</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></para>
<refsect3 id="cut-error-errno.parameters" 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>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.0.2">1.0.2</link></para></refsect2>
<refsect2 id="cut-fail" role="function">
<title>cut_fail&#160;()</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>Raises a failure with message.</para>
<refsect3 id="cut-fail.parameters" 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>the message format. See the <link linkend="printf"><function>printf()</function></link> documentation.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>the parameters to insert into the format string.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="cut-pend" role="function">
<title>cut_pend&#160;()</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>Marks the test is pending with message. The test is
stopped.</para>
<refsect3 id="cut-pend.parameters" 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>the message format. See the <link linkend="printf"><function>printf()</function></link> documentation.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>the parameters to insert into the format string.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="cut-pending" role="function" condition="deprecated:0.4: Use cut_pend() instead.">
<title>cut_pending&#160;()</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>Marks the test is pending with message. The test is
stopped.</para>
<refsect3 id="cut-pending.parameters" 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>the message format. See the <link linkend="printf"><function>printf()</function></link> documentation.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>the parameters to insert into the format string.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="cut-notify" role="function">
<title>cut_notify&#160;()</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>Leaves a notification message. The test is continued.</para>
<refsect3 id="cut-notify.parameters" 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>the message format. See the <link linkend="printf"><function>printf()</function></link> documentation.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>the parameters to insert into the format string.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="cut-omit" role="function" condition="since:0.8">
<title>cut_omit&#160;()</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>Omit the test.</para>
<para>e.g.:</para>
<informalexample><programlisting><![CDATA[
if (version < 2.0)
  cut_omit("Require >= 2.0");
]]></programlisting></informalexample>
<para></para>
<refsect3 id="cut-omit.parameters" 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>the message format. See the <link linkend="printf"><function>printf()</function></link> documentation.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>the parameters to insert into the format string.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-0.8">0.8</link></para></refsect2>
<refsect2 id="cut-return" role="function" condition="since:1.0.6">
<title>cut_return&#160;()</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>Finish the test.</para>
<para>e.g.:</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>
<para role="since">Since: <link linkend="api-index-1.0.6">1.0.6</link></para></refsect2>

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

</refsect1>

</refentry>
