Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_formatFileSize (0.08 sec)

  1. src/test/java/org/codelibs/fess/taglib/FessFunctionsTest.java

            assertEquals("1,000", FessFunctions.formatNumber(1000, "###,###"));
            assertEquals("1,000,000", FessFunctions.formatNumber(1000000, "###,###"));
        }
    
        public void test_formatFileSize() {
            assertEquals("0", FessFunctions.formatFileSize(0));
            assertEquals("1000", FessFunctions.formatFileSize(1000));
            assertEquals("976.6K", FessFunctions.formatFileSize(1000000));
    Registered: 2024-10-31 13:40
    - Last Modified: 2024-02-22 01:37
    - 5.9K bytes
    - Viewed (0)
Back to top