Module:Number table sorting/testcases: Difference between revisions

Content deleted Content added
No edit summary
Update after move
 
(4 intermediate revisions by 2 users not shown)
Line 1:
local mNts = require('Module:NtsNumber table sorting') -- the module to be tested
local Nts = mNts._exportClasses().Nts -- the Nts class
local ScribuntoUnit = require('Module:ScribuntoUnit')
Line 159:
-- suite:assertSortKeyEquals('3099456789999999999♠', {'-5.4321e-100'}) original test value
suite:assertSortKeyEquals('3099456790000000000♠', {'-5.4321e-100'}) -- correct
-- suite:assertSortKeyEquals('3199456780000099999♠', {'-5.4321e-200'}) original test value
suite:assertSortKeyEquals('3199456789999999999♠', {'-5.4321e-200'}) -- almost
suite:assertSortKeyEquals('3299456780000000000♠', {'-5.4321e-300'})
suite:assertSortKeyEquals('5000000000000000000♠', {'-5.4321e-400'})