Test Result : DittoDurationTest
0 failures
(±0)
21 tests
(±0)
All Tests
Test name | Duration | Status |
---|---|---|
assertImmutability | 0.11 sec | Passed |
createDittoDurationFromString | 0 ms | Passed |
createDittoDurationFromStringDays | 0 ms | Passed |
createDittoDurationFromStringMilliseconds | 0 ms | Passed |
createDittoDurationFromStringMinutes | 0 ms | Passed |
createDittoDurationFromStringMonths | 0 ms | Passed |
createDittoDurationFromStringSeconds | 0 ms | Passed |
createDittoDurationFromStringWeeks | 1 ms | Passed |
createDittoDurationFromStringWithAndWithoutSecondsIsEqual | 0 ms | Passed |
createDittoDurationFromStringYears | 0 ms | Passed |
getInstanceFromPositiveDuration | 0 ms | Passed |
getInstanceFromZeroDuration | 0 ms | Passed |
isZeroReturnsExpected | 0 ms | Passed |
parseDurationWithPositivePrefix | 1 ms | Passed |
testSetAmount | 0 ms | Passed |
toStringReturnsExpected | 0 ms | Passed |
tryToGetInstanceFromNegativeDuration | 1 ms | Passed |
tryToGetInstanceFromNullDuration | 0 ms | Passed |
tryToParseDurationWithNegativeAmountAndSuffix | 0 ms | Passed |
tryToParseDurationWithNegativeAmountWithoutSuffix | 0 ms | Passed |
tryToParseEmptyString | 0 ms | Passed |