<!-- Tests for the <or> condition. -->
<project version="2.0">

    <!-- An empty <or> condition -->
    <target name="empty">
        <assert>
            <or/>
        </assert>
    </target>

    <!-- The truth-table -->
    <target name="truth-table">
        <assert expected="false">
            <or><false/></or>
        </assert>
        <assert>
            <or><true/></or>
        </assert>
        <assert expected="false">
            <or><false/><false/></or>
        </assert>
        <assert>
            <or><true/><false/></or>
        </assert>
        <assert>
            <or><false/><true/></or>
        </assert>
        <assert>
            <or><true/><true/></or>
        </assert>
    </target>

    <!-- Check lazy evaluation -->
    <target name="lazy">
        <assert>
            <or><true/><fail/></or>
        </assert>
    </target>

</project>