<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://70.231.62.181/index.php?action=history&amp;feed=atom&amp;title=Module%3AExample%2Ftestcases</id>
	<title>Module:Example/testcases - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://70.231.62.181/index.php?action=history&amp;feed=atom&amp;title=Module%3AExample%2Ftestcases"/>
	<link rel="alternate" type="text/html" href="http://70.231.62.181/index.php?title=Module:Example/testcases&amp;action=history"/>
	<updated>2026-07-10T22:30:21Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>http://70.231.62.181/index.php?title=Module:Example/testcases&amp;diff=13058802&amp;oldid=prev</id>
		<title>2A02:A31A:E1C9:A100:160C:6034:2151:86FE: Undid revision 1276897716 by 188.236.182.133 (talk)</title>
		<link rel="alternate" type="text/html" href="http://70.231.62.181/index.php?title=Module:Example/testcases&amp;diff=13058802&amp;oldid=prev"/>
		<updated>2025-02-27T18:30:11Z</updated>

		<summary type="html">&lt;p&gt;Undid revision &lt;a href=&quot;/index.php/Special:Diff/1276897716&quot; title=&quot;Special:Diff/1276897716&quot;&gt;1276897716&lt;/a&gt; by &lt;a href=&quot;/index.php/Special:Contributions/188.236.182.133&quot; title=&quot;Special:Contributions/188.236.182.133&quot;&gt;188.236.182.133&lt;/a&gt; (&lt;a href=&quot;/index.php?title=User_talk:188.236.182.133&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User talk:188.236.182.133 (page does not exist)&quot;&gt;talk&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- Unit tests for [[Module:Example]]. Click talk page to run tests.&lt;br /&gt;
local p = require(&amp;#039;Module:UnitTests&amp;#039;)&lt;br /&gt;
function p:test_hello()&lt;br /&gt;
    self:preprocess_equals(&amp;#039;{{#invoke:Example | hello}}&amp;#039;, &amp;#039;Hello World!&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_hello_to()&lt;br /&gt;
    self:preprocess_equals(&amp;#039;{{#invoke:Example|hello_to|Fred}}&amp;#039;, &amp;#039;Hello, Fred!&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_count_fruit()&lt;br /&gt;
    self:preprocess_equals(&amp;#039;{{#invoke:Example|count_fruit|bananas=5|apples=3}}&amp;#039;, &amp;#039;I have 5 bananas and 3 apples&amp;#039;)&lt;br /&gt;
    self:preprocess_equals(&amp;#039;{{#invoke:Example|count_fruit|bananas=1|apples=1}}&amp;#039;, &amp;#039;I have 1 banana and 1 apple&amp;#039;)&lt;br /&gt;
    self:preprocess_equals(&amp;#039;{{#invoke:Example|count_fruit|bananas=Not a number|apples=Not a number}}&amp;#039;, &amp;#039;I have 0 bananas and 0 apples&amp;#039;)&lt;br /&gt;
    self:preprocess_equals(&amp;#039;{{#invoke:Example|count_fruit}}&amp;#039;, &amp;#039;I have 0 bananas and 0 apples&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_Name2()&lt;br /&gt;
    self:preprocess_equals(&amp;#039;{{#invoke:Example|Name2}}&amp;#039;, &amp;#039;Lonely&amp;#039;)&lt;br /&gt;
    self:preprocess_equals(&amp;#039;{{#invoke:Example|Name2|1}}&amp;#039;, &amp;#039;Lonely&amp;#039;)&lt;br /&gt;
    self:preprocess_equals(&amp;#039;{{#invoke:Example|Name2|1|2}}&amp;#039;, &amp;#039;Be positive!&amp;#039;)&lt;br /&gt;
    self:preprocess_equals(&amp;#039;{{#invoke:Example|Name2|2|1}}&amp;#039;, &amp;#039;1&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>2A02:A31A:E1C9:A100:160C:6034:2151:86FE</name></author>
	</entry>
</feed>