Ignore:
Timestamp:
Oct 27, 2007, 12:58:11 AM (17 years ago)
Author:
イグトランス (egtra)
Message:

QWord, Int64用書式化関数群を実装

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/TestCase/SimpleTestCase/SPrintFTest.ab

    r364 r365  
    9696    UnitTest("FormatFloatF(1.00, precision = 2)", Right$(s, 6) = "000.00")
    9797
    98 '   s = FormatIntegerLU(8589934590, DWORD_MAX, 0, None)
    99 '   UnitTest("FormatIntegerLU(8589934590)", s = "8589934590")
     98    s = FormatIntegerLO(&hFFFFFFFFFFFFFFFF, 0, 0, Alt)
     99    UnitTest("FormatIntegerLO(&hFFFFFFFFFFFFFFFF, Alt) = 01777777777777777777777", s = "01777777777777777777777")
     100    s = FormatIntegerLX(&h123456789abcdef0, 0, 0, None)
     101    UnitTest("FormatIntegerLX(&h123456789abcdef0)", s = "123456789abcdef0")
     102    s = FormatIntegerLU(8589934590 As QWord, DWORD_MAX, 0, None)
     103    UnitTest("FormatIntegerLU(8589934590)", s = "8589934590")
     104    s = FormatIntegerLD(-8589934590, DWORD_MAX, 0, None)
     105    UnitTest("FormatIntegerLD(-8589934590)", s = "-8589934590")
    100106End Sub
    101107
Note: See TracChangeset for help on using the changeset viewer.