Content deleted Content added
mNo edit summary |
Update after move |
||
(13 intermediate revisions by 2 users not shown) | |||
Line 1:
local mNts = require('Module:
local Nts = mNts._exportClasses().Nts -- the Nts class
local ScribuntoUnit = require('Module:ScribuntoUnit')
Line 123:
suite:assertSortKeyEquals('6989543210000000000♠', {'54321e-15'})
suite:assertSortKeyEquals('6899543210000000000♠', {'54321e-105'})
suite:assertSortKeyEquals('6799543209999999999♠', {'54321e-205'}) -- still incorrect
-- suite:assertSortKeyEquals('6699543200000000000♠', {'54321e-305'})
suite:assertSortKeyEquals('7010543210000000000♠', {'5.4321e10'})
suite:assertSortKeyEquals('7020543210000000000♠', {'5.4321e20'})
suite:assertSortKeyEquals('
suite:assertSortKeyEquals('7100543210000000000♠', {'5.4321e100'})
-- suite:assertSortKeyEquals('7200543210000099999♠', {'5.4321e200'}) original test value
suite:assertSortKeyEquals('7200543209999999999♠', {'5.4321e200'}) -- almost correct
suite:assertSortKeyEquals('7300543210000000000♠', {'5.4321e300'})
suite:assertSortKeyEquals('9000000000000000000♠', {'5.4321e400'})
suite:assertSortKeyEquals('2989456790000000000♠', {'-5.4321e10'})
suite:assertSortKeyEquals('2979456790000000000♠', {'-5.4321e20'})
suite:assertSortKeyEquals('
suite:assertSortKeyEquals('
-- suite:assertSortKeyEquals('2799456789999999999♠', {'-5.4321e200'}) original test value
suite:assertSortKeyEquals('2799456790000000000♠', {'-5.4321e200'}) -- correct
suite:assertSortKeyEquals('2699456790000000000♠', {'-5.4321e300'})
suite:assertSortKeyEquals('1000000000000000000♠', {'-5.4321e400'})
suite:assertSortKeyEquals('6990543210000000000♠', {'5.4321e-10'})
Line 148 ⟶ 155:
suite:assertSortKeyEquals('3009456790000000000♠', {'-5.4321e-10'})
suite:assertSortKeyEquals('3019456789999999999♠', {'-5.4321e-20'})
suite:assertSortKeyEquals('
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'})
|