<?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%3ARoad_data%2Flocations%2Ftestcases</id>
	<title>Module:Road data/locations/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%3ARoad_data%2Flocations%2Ftestcases"/>
	<link rel="alternate" type="text/html" href="http://70.231.62.181/index.php?title=Module:Road_data/locations/testcases&amp;action=history"/>
	<updated>2026-04-23T06:03:02Z</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:Road_data/locations/testcases&amp;diff=24212210&amp;oldid=prev</id>
		<title>imported&gt;BrandonXLF: vertical-align: top;</title>
		<link rel="alternate" type="text/html" href="http://70.231.62.181/index.php?title=Module:Road_data/locations/testcases&amp;diff=24212210&amp;oldid=prev"/>
		<updated>2024-08-23T21:49:05Z</updated>

		<summary type="html">&lt;p&gt;vertical-align: top;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}&lt;br /&gt;
&lt;br /&gt;
local live = require(&amp;#039;Module:Road data/locations&amp;#039;)&lt;br /&gt;
local sandbox = require(&amp;#039;Module:Road data/locations/sandbox&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
local function showArgs(frame, args)&lt;br /&gt;
	local out = &amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
	for _, arg in ipairs(args) do&lt;br /&gt;
		out = out ..  frame:preprocess(&amp;#039;&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;#039; .. mw.dumpObject(arg) .. &amp;#039;&amp;lt;/syntaxhighlight&amp;gt;&amp;#039;)&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return out&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function addTest(frame, out, functionName, ...)&lt;br /&gt;
	out = out .. &amp;#039;|-\n&amp;#039;&lt;br /&gt;
	out = out .. &amp;#039;| style=&amp;quot;vertical-align:top&amp;quot; | &amp;lt;code&amp;gt;&amp;#039; .. functionName .. &amp;#039;&amp;lt;/code&amp;gt; with arguments:&amp;#039; .. showArgs(frame, arg) .. &amp;#039;\n&amp;#039;&lt;br /&gt;
	out = out .. frame:preprocess(&amp;#039;| style=&amp;quot;vertical-align:top&amp;quot; | &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;#039; .. mw.dumpObject(live[functionName](unpack(arg))) .. &amp;#039;&amp;lt;/syntaxhighlight&amp;gt;\n&amp;#039;)&lt;br /&gt;
	out = out .. frame:preprocess(&amp;#039;| style=&amp;quot;vertical-align:top&amp;quot; | &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;#039; .. mw.dumpObject(sandbox[functionName](unpack(arg))) .. &amp;#039;&amp;lt;/syntaxhighlight&amp;gt;\n&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
	return out&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.test(frame)&lt;br /&gt;
	local out = &amp;#039;{| class=&amp;quot;wikitable&amp;quot;\n&amp;#039;&lt;br /&gt;
	out = out .. &amp;#039;! Lua\n&amp;#039;&lt;br /&gt;
	out = out .. &amp;#039;! Live\n&amp;#039;&lt;br /&gt;
	out = out .. &amp;#039;! Sandbox\n&amp;#039;&lt;br /&gt;
	&lt;br /&gt;
	out = addTest(&lt;br /&gt;
		frame,&lt;br /&gt;
		out,&lt;br /&gt;
		&amp;#039;locations&amp;#039;,&lt;br /&gt;
		{&lt;br /&gt;
			primary_topic = &amp;#039;no&amp;#039;,&lt;br /&gt;
			country = &amp;#039;USA&amp;#039;,&lt;br /&gt;
			region = &amp;#039;New Jersey&amp;#039;,&lt;br /&gt;
			sub1 = &amp;#039;Monmouth&amp;#039;,&lt;br /&gt;
			sub2 = &amp;#039;Wall Township&amp;#039;&lt;br /&gt;
			&lt;br /&gt;
		},&lt;br /&gt;
		&amp;#039;jctint&amp;#039;&lt;br /&gt;
	)&lt;br /&gt;
	&lt;br /&gt;
	out = addTest(&lt;br /&gt;
		frame,&lt;br /&gt;
		out,&lt;br /&gt;
		&amp;#039;locations&amp;#039;,&lt;br /&gt;
		{&lt;br /&gt;
			primary_topic = &amp;#039;no&amp;#039;,&lt;br /&gt;
			country = &amp;#039;USA&amp;#039;,&lt;br /&gt;
			region = &amp;#039;New Jersey&amp;#039;,&lt;br /&gt;
			sub1 = &amp;#039;Monmouth&amp;#039;,&lt;br /&gt;
			sub2 = &amp;#039;Wall Township&amp;#039;&lt;br /&gt;
			&lt;br /&gt;
		},&lt;br /&gt;
		&amp;#039;jcttop&amp;#039;&lt;br /&gt;
	)&lt;br /&gt;
	&lt;br /&gt;
	return out .. &amp;#039;|}\n&amp;#039;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>imported&gt;BrandonXLF</name></author>
	</entry>
</feed>