Skip to content

Test Result : DittoDurationTest

0 failures (±0)
21 tests (±0)
Took 0.17 sec.

All Tests

Test nameDurationStatus
assertImmutability0.17 secPassed
createDittoDurationFromString0 msPassed
createDittoDurationFromStringDays1 msPassed
createDittoDurationFromStringMilliseconds0 msPassed
createDittoDurationFromStringMinutes0 msPassed
createDittoDurationFromStringMonths0 msPassed
createDittoDurationFromStringSeconds0 msPassed
createDittoDurationFromStringWeeks1 msPassed
createDittoDurationFromStringWithAndWithoutSecondsIsEqual0 msPassed
createDittoDurationFromStringYears1 msPassed
getInstanceFromPositiveDuration1 msPassed
getInstanceFromZeroDuration0 msPassed
isZeroReturnsExpected0 msPassed
parseDurationWithPositivePrefix0 msPassed
testSetAmount1 msPassed
toStringReturnsExpected0 msPassed
tryToGetInstanceFromNegativeDuration0 msPassed
tryToGetInstanceFromNullDuration1 msPassed
tryToParseDurationWithNegativeAmountAndSuffix0 msPassed
tryToParseDurationWithNegativeAmountWithoutSuffix1 msPassed
tryToParseEmptyString0 msPassed