<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mywikibiz.com/index.php?action=history&amp;feed=atom&amp;title=Module%3AAncient_Greek%2Ftyping%2Ftestcases</id>
	<title>Module:Ancient Greek/typing/testcases - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mywikibiz.com/index.php?action=history&amp;feed=atom&amp;title=Module%3AAncient_Greek%2Ftyping%2Ftestcases"/>
	<link rel="alternate" type="text/html" href="https://mywikibiz.com/index.php?title=Module:Ancient_Greek/typing/testcases&amp;action=history"/>
	<updated>2026-05-16T15:16:23Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.3</generator>
	<entry>
		<id>https://mywikibiz.com/index.php?title=Module:Ancient_Greek/typing/testcases&amp;diff=470979&amp;oldid=prev</id>
		<title>Zoran: Moved page from wikipedia:en:Module:Ancient Greek/typing/testcases</title>
		<link rel="alternate" type="text/html" href="https://mywikibiz.com/index.php?title=Module:Ancient_Greek/typing/testcases&amp;diff=470979&amp;oldid=prev"/>
		<updated>2021-07-08T19:17:43Z</updated>

		<summary type="html">&lt;p&gt;Moved page from &lt;a href=&quot;/index.php?title=Wikipedia:en:Module:Ancient_Greek/typing/testcases&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Wikipedia:en:Module:Ancient Greek/typing/testcases (page does not exist)&quot;&gt;wikipedia:en:Module:Ancient Greek/typing/testcases&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local tests = require(&amp;quot;Module:UnitTests&amp;quot;)&lt;br /&gt;
local tag = mw.text.tag&lt;br /&gt;
local decompose = mw.ustring.toNFD&lt;br /&gt;
local Latin_to_Greek = require(&amp;quot;Module:Ancient Greek/typing&amp;quot;).to_Greek&lt;br /&gt;
&lt;br /&gt;
local function tag_Greek(text)&lt;br /&gt;
	return tag(&amp;quot;span&amp;quot;, { lang = &amp;quot;grc&amp;quot; }, text)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function code(text)&lt;br /&gt;
	return tag(&amp;quot;code&amp;quot;, nil, text)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local options = { display = tag_Greek, show_difference = true }&lt;br /&gt;
function tests:check(example, expected)&lt;br /&gt;
	self:equals(code(example),&lt;br /&gt;
		decompose(Latin_to_Greek(example)),&lt;br /&gt;
		decompose(expected),&lt;br /&gt;
		options)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function tests:test()&lt;br /&gt;
	local examples = {&lt;br /&gt;
		{ &amp;quot;a__i&amp;quot;, &amp;quot;ᾱͅ&amp;quot; },&lt;br /&gt;
		{ &amp;quot;a)lhqh/s&amp;quot;, &amp;quot;ἀληθής&amp;quot; },&lt;br /&gt;
		{ &amp;quot;a)lhqhs*&amp;quot;, &amp;quot;ἀληθησ&amp;quot; },&lt;br /&gt;
		{ &amp;quot;a)lhqhs-&amp;quot;, &amp;quot;ἀληθησ-&amp;quot; },&lt;br /&gt;
		{ &amp;quot;a^)nh/r&amp;quot;, &amp;quot;ᾰ̓νήρ&amp;quot; },&lt;br /&gt;
		{ &amp;quot;Phlhi+a/dhs&amp;quot;, &amp;quot;Πηληϊάδης&amp;quot; },&lt;br /&gt;
		{ &amp;quot;Phlhi^+a^/dhs&amp;quot;, &amp;quot;Πηληῐ̈ᾰ́δης&amp;quot; },&lt;br /&gt;
		{ &amp;quot;Πηληϊ^ά^δης&amp;quot;, &amp;quot;Πηληῐ̈ᾰ́δης&amp;quot; },&lt;br /&gt;
		{ &amp;quot;e)a_/n&amp;quot;, &amp;quot;ἐᾱ́ν&amp;quot; },&lt;br /&gt;
		{ &amp;quot;ἐά_ν&amp;quot;, &amp;quot;ἐᾱ́ν&amp;quot; },&lt;br /&gt;
		{ &amp;quot;pa=sa^&amp;quot;, &amp;quot;πᾶσᾰ&amp;quot; },&lt;br /&gt;
		{ &amp;quot;u_(mei=s&amp;quot;, &amp;quot;ῡ̔μεῖς&amp;quot; },&lt;br /&gt;
		{ &amp;quot;a/)^ner&amp;quot;, &amp;quot;ᾰ̓́νερ&amp;quot; },&lt;br /&gt;
		{ &amp;quot;a/^)ner&amp;quot;, &amp;quot;ᾰ̓́νερ&amp;quot; },&lt;br /&gt;
		{ &amp;quot;a)/^ner&amp;quot;, &amp;quot;ᾰ̓́νερ&amp;quot; },&lt;br /&gt;
		{ &amp;quot;a)^/ner&amp;quot;, &amp;quot;ᾰ̓́νερ&amp;quot; },&lt;br /&gt;
		{ &amp;quot;dai+/frwn&amp;quot;, &amp;quot;δαΐφρων&amp;quot; },&lt;br /&gt;
		{ &amp;quot;dai/+frwn&amp;quot;, &amp;quot;δαΐφρων&amp;quot; },&lt;br /&gt;
	}&lt;br /&gt;
	&lt;br /&gt;
	self:iterate(examples, &amp;quot;check&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return tests&lt;/div&gt;</summary>
		<author><name>Zoran</name></author>
	</entry>
</feed>