• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

LinqLover / SimulationStudio / 4099337213

pending completion
4099337213

push

github

GitHub
Merge pull request #62 from LinqLover/fix-self-update

1 of 1 new or added line in 1 file covered. (100.0%)

4205 of 5405 relevant lines covered (77.8%)

1.56 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/packages/SimulationStudio-Tools.package/Duration.extension/instance/simShortPrintOn..st
1
*SimulationStudio-Tools-MethodFinder-printing
×
2
simShortPrintOn: aStream
×
3

×
4
        "Format as per ANSI 5.8.2.16: [-]D:HH:MM:SS"         | d h m s |
×
5
        d := self days abs.
×
6
        h := self hours abs.
×
7
        m := self minutes abs.
×
8
         s := self seconds abs truncated.
×
9
        self negative ifTrue: [ aStream nextPut: $- ].
×
10
        d > 0 ifTrue:
×
11
                [d printOn: aStream. aStream nextPut: $:].
×
12
        d + h > 0 ifTrue:
×
13
                [h < 10 ifTrue: [ aStream nextPut: $0. ].
×
14
                h printOn: aStream. aStream nextPut: $:].
×
15
        m < 10 ifTrue: [ aStream nextPut: $0. ].
×
16
        m printOn: aStream. aStream nextPut: $:.
×
17
        s < 10 ifTrue: [ aStream nextPut: $0. ].
×
18
        s printOn: aStream.
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc