Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for formatsShortDurations (0.55 sec)

  1. platforms/core-runtime/time/src/test/groovy/org/gradle/internal/time/TimeFormattingTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.internal.time
    
    import spock.lang.Specification
    
    class TimeFormattingTest extends Specification {
    
        def formatsShortDurations() {
            expect:
            TimeFormatting.formatDurationVeryTerse(0) == '0s'
            TimeFormatting.formatDurationVeryTerse(7) == '0.007s'
            TimeFormatting.formatDurationVeryTerse(1200) == '1.200s'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:20:17 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top