Changeset 1364

Show
Ignore:
Timestamp:
04/19/08 22:50:45 (3 months ago)
Author:
cederberg@gmail.com
Message:

Removed two negative tests for truncToFixed that actually works on MSIE.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • mochikit/trunk/tests/test_Format.js

    r1362 r1364  
    1010    t.is( truncToFixed(568.80, 2), "568.80", "truncToFixed 568.80, floating-point error" ); 
    1111    t.is( truncToFixed(1.23e+20, 2), "123000000000000000000.00", "truncToFixed 1.23e+20" ); 
    12     t.is( truncToFixed(1.23e+21, 2), "1.23e+21", "truncToFixed 1.23e+21" ); 
    1312    t.is( truncToFixed(-1.23e+20, 2), "-123000000000000000000.00", "truncToFixed -1.23e+20" ); 
    14     t.is( truncToFixed(-1.23e+21, 2), "-1.23e+21", "truncToFixed -1.23e+21" ); 
    1513    t.is( truncToFixed(1.23e-10, 2), "0.00", "truncToFixed 1.23e-10" ); 
    1614