<?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%3ASandbox%2FScaledish%2FImage_parse%2Ftestcases</id>
	<title>Module:Sandbox/Scaledish/Image parse/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%3ASandbox%2FScaledish%2FImage_parse%2Ftestcases"/>
	<link rel="alternate" type="text/html" href="http://70.231.62.181/index.php?title=Module:Sandbox/Scaledish/Image_parse/testcases&amp;action=history"/>
	<updated>2026-04-23T04:42:19Z</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:Sandbox/Scaledish/Image_parse/testcases&amp;diff=25113712&amp;oldid=prev</id>
		<title>imported&gt;Scaledish at 14:50, 23 September 2025</title>
		<link rel="alternate" type="text/html" href="http://70.231.62.181/index.php?title=Module:Sandbox/Scaledish/Image_parse/testcases&amp;diff=25113712&amp;oldid=prev"/>
		<updated>2025-09-23T14:50:36Z</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;-- Unit tests for [[Module:Sandbox/Scaledish/Image parse]]. Click talk page to run tests.&lt;br /&gt;
local p = require(&amp;#039;Module:UnitTests&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
local sample1 = &amp;quot;[[File:Fire inside an abandoned convent in Massueville, Quebec, Canada.jpg|thumb|right|Firefighters douse a burning building in [[Massueville, Quebec|Massueville]], Canada.]]&amp;quot;&lt;br /&gt;
local sample2 = &amp;quot;[[File:1880-_Global_surface_temperature_-_heat_map_animation_-_NASA_SVS.webm|thumb|upright=1.35|NASA animation portraying global surface temperature changes from 1880 to 2023. The colour blue denotes cooler temperatures and red denotes warmer temperatures.{{Clarify| reason=cooler and warmer than _what_? If 1880 shouldn&amp;#039;t the animation start out pure white?|date=July 2025}}]]&amp;quot;&lt;br /&gt;
&lt;br /&gt;
function p:test_parses_name()&lt;br /&gt;
    self:preprocess_equals_many(&amp;#039;{{#invoke:Sandbox/Scaledish/Image parse|parse|&amp;#039;, &amp;#039;|name}}&amp;#039;, {&lt;br /&gt;
        {sample1, &amp;#039;Fire inside an abandoned convent in Massueville, Quebec, Canada.jpg&amp;#039;},&lt;br /&gt;
        {sample2, &amp;#039;1880-_Global_surface_temperature_-_heat_map_animation_-_NASA_SVS.webm&amp;#039;}&lt;br /&gt;
    })&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_infers_location()&lt;br /&gt;
    self:preprocess_equals_many(&amp;#039;{{#invoke:Sandbox/Scaledish/Image parse|parse|&amp;#039;, &amp;#039;|location}}&amp;#039;, {&lt;br /&gt;
        {sample1, &amp;#039;right&amp;#039;},&lt;br /&gt;
    })&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_parses_caption()&lt;br /&gt;
    self:preprocess_equals_many(&amp;#039;{{#invoke:Sandbox/Scaledish/Image parse|parse|&amp;#039;, &amp;#039;|caption}}&amp;#039;, {&lt;br /&gt;
        {sample1, &amp;#039;Firefighters douse a burning building in [[Massueville, Quebec|Massueville]], Canada.&amp;#039;},&lt;br /&gt;
        {sample2, &amp;quot;NASA animation portraying global surface temperature changes from 1880 to 2023. The colour blue denotes cooler temperatures and red denotes warmer temperatures.{{Clarify| reason=cooler and warmer than _what_? If 1880 shouldn&amp;#039;t the animation start out pure white?|date=July 2025}}&amp;quot;},&lt;br /&gt;
        {&amp;quot;[[File:Example.png|thumb|Caption with a [[link|pipe]] in it]]&amp;quot;, &amp;quot;Caption with a [[link|pipe]] in it&amp;quot;}&lt;br /&gt;
    })&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>imported&gt;Scaledish</name></author>
	</entry>
</feed>