<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3APopulationFromWikidata%2Ftestcases</id>
	<title>Module:PopulationFromWikidata/testcases - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3APopulationFromWikidata%2Ftestcases"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:PopulationFromWikidata/testcases&amp;action=history"/>
	<updated>2026-07-11T05:43:03Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://stockhub.co/index.php?title=Module:PopulationFromWikidata/testcases&amp;diff=144380&amp;oldid=prev</id>
		<title>imported&gt;MaiaCWilliams at 08:53, 11 July 2022</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:PopulationFromWikidata/testcases&amp;diff=144380&amp;oldid=prev"/>
		<updated>2022-07-11T08:53:47Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;--Test cases for the sandbox version of the PopulationFromWikidata module. This is a Lua module for testing the sandbox module.&lt;br /&gt;
&lt;br /&gt;
-- we inherit p from another module&lt;br /&gt;
-- UnitTests is a system of testing modules. We&amp;#039;ll expose the outputs of tests. &lt;br /&gt;
-- We want to specify the expected output to compare to the actual. But for now we&amp;#039;re not using this comparison, we&amp;#039;re just checking the output manually.&lt;br /&gt;
local p = require(&amp;quot;module:UnitTests&amp;quot;)&lt;br /&gt;
function p:test1()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:PopulationFromWikidata/sandbox|ListForInfobox}}&amp;#039;, &amp;#039;&amp;#039;)&lt;br /&gt;
--	self:preprocess_equals(&amp;#039;{{#invoke:PopulationFromWikidata/sandbox|ListForInfobox|wikidata=Q2821571}}&amp;#039;, &amp;#039;&amp;#039;, {nowiki=1})&lt;br /&gt;
--	self:preprocess_equals(&amp;#039;{{#invoke:PopulationFromWikidata/sandbox|ListForInfobox|wikidata=Q2821571}}&amp;#039;, &amp;#039;&amp;lt;div&amp;gt;\n* 2,051 (Suburbs and Localities 2021)&amp;lt;ref&amp;gt;&amp;lt;/ref&amp;gt;&amp;lt;/div&amp;gt;[[Category:Australian place articles using Wikidata population values]]&amp;#039;)&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:PopulationFromWikidata/sandbox|ListForInfobox|wikidata=Q2821571}}&amp;#039;, &amp;#039;&amp;#039;)&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:PopulationFromWikidata/sandbox|ListForInfobox|wikidata=Q2821571|type = suburb}}&amp;#039;, &amp;#039;&amp;#039;)&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:PopulationFromWikidata/sandbox|ListForInfobox|wikidata=Q2821571|type = Suburb}}&amp;#039;, &amp;#039;&amp;#039;)&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:PopulationFromWikidata/sandbox|ListForInfobox|wikidata=Q2821571|type = town}}&amp;#039;, &amp;#039;&amp;#039;)&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:PopulationFromWikidata/sandbox|ListForInfobox|wikidata=Q649969|type = region}}&amp;#039;, &amp;#039;&amp;#039;)&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:PopulationFromWikidata/sandbox|ListForInfobox|wikidata=Q11568|type = city}}&amp;#039;, &amp;#039;&amp;#039;)&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:PopulationFromWikidata/sandbox|ListForInfobox|wikidata=Q5174266|type = town}}&amp;#039;, &amp;#039;&amp;#039;)&lt;br /&gt;
	&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>imported&gt;MaiaCWilliams</name></author>
	</entry>
</feed>