<?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%3ASandbox%2FBiggins%2FLDSverseWS%2Ftestcases</id>
	<title>Module:Sandbox/Biggins/LDSverseWS/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%3ASandbox%2FBiggins%2FLDSverseWS%2Ftestcases"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Sandbox/Biggins/LDSverseWS/testcases&amp;action=history"/>
	<updated>2026-05-24T15:25:29Z</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:Sandbox/Biggins/LDSverseWS/testcases&amp;diff=145196&amp;oldid=prev</id>
		<title>imported&gt;Biggins: Fixed typo</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Sandbox/Biggins/LDSverseWS/testcases&amp;diff=145196&amp;oldid=prev"/>
		<updated>2020-08-07T04:34:39Z</updated>

		<summary type="html">&lt;p&gt;Fixed typo&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- Unit tests for [[Module:{{ROOTPAGENAME}}]]. Click talk page to run tests.&lt;br /&gt;
local p = require(&amp;#039;Module:UnitTests&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
-- No parameters unit test&lt;br /&gt;
function p:test_01_noParams()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{LDS/sandbox}}&amp;#039;, &amp;#039;[[s:Portal:Mormonism#LDS_Standard_Works_(Scriptures)|LDS Standard Works]]&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- One parameter&lt;br /&gt;
function p:test_02_noParams2()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{LDS/sandbox|Display Text}}&amp;#039;, &amp;#039;[[s:Portal:Mormonism#LDS_Standard_Works_(Scriptures)|Display Text]]&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Cite to book in Bible&lt;br /&gt;
function p:test_03_genesis()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{LDS/sandbox|Gen.|gen}}&amp;#039;, &amp;#039;[[s:Bible (King James)/Genesis|Gen.]]&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Cite to (other) book in Bible #1&lt;br /&gt;
function p:test_04_sos1()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{LDS/sandbox|The Songs of Solomon|song}}&amp;#039;, &amp;#039;[[s:Bible (King James)/Song of Solomon|The Songs of Solomon]]&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Cite to (other) book in Bible #2&lt;br /&gt;
function p:test_05_sos2()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{LDS/sandbox|Canticles|Song of Solomon}}&amp;#039;, &amp;#039;[[s:Bible (King James)/Song of Solomon|Canticles]]&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Cite to Bible chapter #1&lt;br /&gt;
function p:test_06_num_3()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{LDS/sandbox|Num.|num|3}}&amp;#039;, &amp;#039;[[s:Bible (King James)/Numbers#chapter_3|Num. 3]]&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Cite to Bible chapter #2&lt;br /&gt;
function p:test_07_1_kings_5()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{LDS/sandbox|1 Kuningad|1kgs|5}}&amp;#039;, &amp;#039;[[s:Bible (King James)/1 Kings#chapter_5|1 Kuningad 5]]&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Cite to Bible chapter #3&lt;br /&gt;
function p:test_08_amos_2()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{LDS/sandbox|Amos (not Andy)|Amos|2}}&amp;#039;, &amp;#039;[[s:Bible (King James)/Amos#chapter_2|Amos (not Andy) 2]]&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Cite to Bible verse #1&lt;br /&gt;
function p:test_09_gen_3_6()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{LDS/sandbox|Gen.|gen|3|6}}&amp;#039;, &amp;#039;[[s:Bible (King James)/Genesis#3:6|Gen. 3:6]]&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Cite to Bible verse #2&lt;br /&gt;
function p:test_10_matt_5_20()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{LDS/sandbox|Matt.|Matthew|5|20}}&amp;#039;, &amp;#039;[[s:Bible (King James)/Matthew#5:20|Matt. 5:20]]&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Cite to BoM book #1&lt;br /&gt;
function p:test_11_mormon()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{LDS/sandbox|Morm.|Mormon}}&amp;#039;, &amp;#039;[[s:Book of Mormon (1981)/Mormon|Morm.]]&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Cite to BoM book #2&lt;br /&gt;
function p:test_12_enos()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{LDS/sandbox|Enos da Man|Enos}}&amp;#039;, &amp;#039;[[s:Book of Mormon (1981)/Enos|Enos da Man]]&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Cite to BoM book #3&lt;br /&gt;
function p:test_13_1_ne()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{LDS/sandbox|Morm.|1 Nephi}}&amp;#039;, &amp;#039;[[s:Book of Mormon (1981)/1 Nephi|Morm.]]&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Cite to BoM chapter #1&lt;br /&gt;
function p:test_14_2_ne_26()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{LDS/sandbox|2 Nyafi|2 Nephi|26}}&amp;#039;, &amp;#039;[[s:Book of Mormon (1981)/2 Nephi#chapter_26|2 Nyafi 26]]&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Cite to BoM chapter #2&lt;br /&gt;
function p:test_15_alma_50()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{LDS/sandbox|Alma|alma|50}}&amp;#039;, &amp;#039;[[s:Book of Mormon (1981)/Alma#chapter_50|Alma 50]]&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Cite to BoM verse #1&lt;br /&gt;
function p:test_16_2_ne_26_33()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{LDS/sandbox|2 Nyafi|2 Nephi|26|33}}&amp;#039;, &amp;#039;[[s:Book of Mormon (1981)/2 Nephi#26:33|2 Nyafi 26:33]]&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Cite to D&amp;amp;C&lt;br /&gt;
function p:test_17_dc()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{LDS/sandbox|D&amp;amp;C|dc}}&amp;#039;, &amp;#039;[[s:The Doctrine and Covenants|D&amp;amp;C]]&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Cite to D&amp;amp;C Section&lt;br /&gt;
function p:test_18_dc_88()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{LDS/sandbox|D&amp;amp;C|dc|88}}&amp;#039;, &amp;#039;[[s:The Doctrine and Covenants/Section 88|D&amp;amp;C 88]]&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Cite to D&amp;amp;C verse&lt;br /&gt;
function p:test_19_dc_88_6()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{LDS/sandbox|D&amp;amp;C|dc|88|6}}&amp;#039;, &amp;#039;[[s:The Doctrine and Covenants/Section 88#6|D&amp;amp;C 88:6]]&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Cite to PoGP book 1&lt;br /&gt;
function p:test_20_jst_matthew()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{LDS/sandbox|JST Matthew|jst-matt}}&amp;#039;, &amp;#039;[[s:The Pearl of Great Price (1913)/Matthew|JST Matthew]]&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Cite to PoGP book 2&lt;br /&gt;
function p:test_21_abraham()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{LDS/sandbox|Avraham (Gileadi)|abr}}&amp;#039;, &amp;#039;[[s:The Pearl of Great Price (1913)/Abraham|Avraham (Gileadi)]]&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Cite to PoGP book 3&lt;br /&gt;
function p:test_22_moses()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{LDS/sandbox|Moses|moses}}&amp;#039;, &amp;#039;[[s:The Pearl of Great Price (1913)/Moses|Moses]]&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Cite to PoGP book 4&lt;br /&gt;
function p:test_23_history()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{LDS/sandbox|JS History|History}}&amp;#039;, &amp;#039;[[s:The Pearl of Great Price (1913)/History|JS History]]&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Cite to PoGP book 5&lt;br /&gt;
function p:test_24_aof()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{LDS/sandbox|AoF|aoff}}&amp;#039;, &amp;#039;[[s:The Pearl of Great Price (1913)/Articles of Faith|AoF]]&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Cite to PoGP chapter 1&lt;br /&gt;
function p:test_25_moses_2()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{LDS/sandbox|Moses|moses|2}}&amp;#039;, &amp;#039;[[s:The Pearl of Great Price (1913)/Moses#chapter_2|Moses 2]]&amp;#039;) -- This assumes that PoGP chapter bookmarks get standardized&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Cite to PoGP chapter 2&lt;br /&gt;
function p:test_26_abraham_3()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{LDS/sandbox|Abr.|Abraham|3}}&amp;#039;, &amp;#039;[[s:The Pearl of Great Price (1913)/Abraham#chapter_3|Abr. 3]]&amp;#039;) -- This assumes that PoGP chapter bookmarks get standardized&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Cite to PoGP chapter 3&lt;br /&gt;
function p:test_27_aof_1()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{LDS/sandbox|AoF|aoff|1}}&amp;#039;, &amp;#039;[[s:The Pearl of Great Price (1913)/Articles of Faith#chapter_1|AoF 1]]&amp;#039;) -- This assumes that PoGP chapter bookmarks get standardized&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Cite to PoGP chapter 4&lt;br /&gt;
function p:test_28_jst_matthew_1()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{LDS/sandbox|JS Matthew|jsm|1}}&amp;#039;, &amp;#039;[[s:The Pearl of Great Price (1913)/Matthew#chapter_1|JS Matthew 1]]&amp;#039;) -- This assumes that PoGP chapter bookmarks get standardized&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Cite to PoGP chapter 5&lt;br /&gt;
function p:test_29_js_history_1()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{LDS/sandbox|JS Hist.|jsh|1}}&amp;#039;, &amp;#039;[[s:The Pearl of Great Price (1913)/History#chapter_1|JS Hist. 1]]&amp;#039;) -- This assumes that PoGP chapter bookmarks get standardized&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Cite to PoGP verse 1&lt;br /&gt;
function p:test_30_moses_3_8()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{LDS/sandbox|Moses|moses|3|8}}&amp;#039;, &amp;#039;[[s:The Pearl of Great Price (1913)/Moses#3:8|Moses 3:8]]&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Cite to PoGP verse 2&lt;br /&gt;
function p:test_31_abraham_3_8()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{LDS/sandbox|Abr.|Abraham|3|8}}&amp;#039;, &amp;#039;[[s:The Pearl of Great Price (1913)/Abraham#3:8|Abr. 3:8]]&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Cite to PoGP verse 3&lt;br /&gt;
function p:test_32_jst_matthew_26()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{LDS/sandbox|JST Matthew|jst-matt|1|26}}&amp;#039;, &amp;#039;[[s:The Pearl of Great Price (1913)/Matthew#1:26|JST Matthew 1:26]]&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Cite to PoGP verse 4&lt;br /&gt;
function p:test_33_jst_hist_16()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{LDS/sandbox|JST Historia|js-hist|1|16}}&amp;#039;, &amp;#039;[[s:The Pearl of Great Price (1913)/History#1:16|JST Historia 1:16]]&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Cite to PoGP verse 5&lt;br /&gt;
function p:test_34_aof_11()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{LDS/sandbox|Articles o\&amp;#039; Faith|Articles of Faith|1|11}}&amp;#039;, &amp;#039;[[s:The Pearl of Great Price (1913)/Articles of Faith#1:11|Articles o\&amp;#039; Faith 1:11]]&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- weird spacing issues&lt;br /&gt;
function p:test_35_spacing_1()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{LDS/sandbox |Alma |alma |7 |11 }}&amp;#039;, &amp;#039;[[s:Book of Mormon (1981)/Alma#7:11|Alma 7:11]]&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- weird spacing issues&lt;br /&gt;
function p:test_36_spacing_2()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{LDS/sandbox |  Mos. | mosiah |  4 |  16 }}&amp;#039;, &amp;#039;[[s:Book of Mormon (1981)/Mosiah#4:16|Mos. 4:16]]&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- range of verses&lt;br /&gt;
function p:test_37_range_1()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{LDS/sandbox|Doctrine + Covenants|dc|128|19|22}}&amp;#039;, &amp;#039;[[s:The Doctrine and Covenants/Section 128#19|Doctrine + Covenants 128:19–22]]&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- range of verses&lt;br /&gt;
function p:test_38_range_2()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{LDS/sandbox|Doctrine + Covenants|dc|128|19|–22, 24|||x}}&amp;#039;, &amp;#039;[[s:The Doctrine and Covenants/Section 128#19|Doctrine + Covenants 128:19–22, 24]]&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>imported&gt;Biggins</name></author>
	</entry>
</feed>