<?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%2Fisaacl%2FProbability%2Ftestcases</id>
	<title>Module:Sandbox/isaacl/Probability/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%2Fisaacl%2FProbability%2Ftestcases"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Sandbox/isaacl/Probability/testcases&amp;action=history"/>
	<updated>2026-05-27T22:27:37Z</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/isaacl/Probability/testcases&amp;diff=146535&amp;oldid=prev</id>
		<title>imported&gt;Isaacl: improving output display; add more test cases</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Sandbox/isaacl/Probability/testcases&amp;diff=146535&amp;oldid=prev"/>
		<updated>2013-11-29T02:49:00Z</updated>

		<summary type="html">&lt;p&gt;improving output display; add more test cases&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
local me = { }&lt;br /&gt;
&lt;br /&gt;
local Probability = require(&amp;#039;Module:Sandbox/isaacl/Probability&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
function me:run(frame)&lt;br /&gt;
    local result = &amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
    result = result .. me:test_randomInt()&lt;br /&gt;
&lt;br /&gt;
    return result&lt;br /&gt;
end  -- function me:run()&lt;br /&gt;
&lt;br /&gt;
function me:test_randomInt()&lt;br /&gt;
    local result = &amp;#039;&amp;#039;&lt;br /&gt;
    for i = 1, 20 do&lt;br /&gt;
        result = result&lt;br /&gt;
          .. &amp;#039;* Executing Probability.randomInt(10): &amp;#039; .. Probability.randomInt(10,2) .. &amp;#039;\n&amp;#039;&lt;br /&gt;
    end&lt;br /&gt;
    local bigNumber = 2^35&lt;br /&gt;
    for i = 1, 20 do&lt;br /&gt;
        result = result&lt;br /&gt;
          .. &amp;#039;* Executing Probability.randomInt(&amp;#039;..bigNumber..&amp;#039;): &amp;#039;&lt;br /&gt;
          .. Probability.randomInt(bigNumber) .. &amp;#039;\n&amp;#039;&lt;br /&gt;
    end&lt;br /&gt;
    return result&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function me.run_tests(frame)&lt;br /&gt;
	return me:run(frame)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return me&lt;/div&gt;</summary>
		<author><name>imported&gt;Isaacl</name></author>
	</entry>
</feed>