Module:Number table sorting/testcases: Difference between revisions

Content deleted Content added
Created page with 'local mNts = require('Module:Nts') -- the module to be tested local Nts = mNts._exportClasses().Nts -- the Nts class local ScribuntoUnit = require('Module:Scribu...'
 
mNo edit summary
Line 41:
 
function suite:testSortKeyLimits()
suite:assertSortKeyEquals('5000000000000000000♠', '0')
suite:assertSortKeyEquals('', '1e3085.4321e300')
suite:assertSortKeyEquals('', '-1e3085.4321e300')
suite:assertSortKeyEquals('', '1e5.4321e-308')
suite:assertSortKeyEquals('', '-1e5.4321e-308')
end