Ignore:
Timestamp:
Mar 6, 2008, 9:49:43 PM (17 years ago)
Author:
イグトランス (egtra)
Message:

(SPrintF.ab) FormatIntegerExにStringBuilderを引数に取る版を追加。

File:
1 edited

Legend:

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

    r299 r457  
    99Sub TestMain()
    1010    Dim sb = New StringBuilder("Hello")
    11     UnitTest("StringBuilder - Constractor & ToString", sb.ToString = "Hello")
    12     UnitTest("StringBuilder.ToString(index, count)", sb.ToString(1, 3) = "ell")
    13     UnitTest("StringBuilder.Append", sb.Append("StringBuilder").ToString = "HelloStringBuilder")
    14     UnitTest("StringBuilder.Insert (String)", sb.Insert(5, ", ").ToString = "Hello, StringBuilder")
     11    UnitTest("StringBuilder - Constractor & ToString", sb.ToString, "Hello")
     12    UnitTest("StringBuilder.ToString(index, count)", sb.ToString(1, 3), "ell")
     13    UnitTest("StringBuilder.Append", sb.Append("StringBuilder").ToString, "HelloStringBuilder")
     14    UnitTest("StringBuilder.Insert (String)", sb.Insert(5, ", ").ToString, "Hello, StringBuilder")
    1515    sb.Length = 0
    16     UnitTest("StringBuilder.Length = 0", sb.ToString = "")
     16    UnitTest("StringBuilder.Length = 0", sb.ToString, "")
    1717    sb.Append("でてこいでてこいいけのこい")
    1818    sb.Replace("こい", "いけ").Replace("いけ", "こい")
    19     UnitTest("StringBuilder.Replace (String)", sb.ToString = "でてこいでてこいいけのこい")
     19    UnitTest("StringBuilder.Replace (String)", sb.ToString, "でてこいでてこいこいのこい")
    2020End Sub
    2121
Note: See TracChangeset for help on using the changeset viewer.