|
Steps
|
Outcome |
|
|
|
|
SUCCESS |
022ms |
|
Given the first date 2021-01-31 and the second date 2021-02-28
|
SUCCESS |
005ms |
|
When the datedif function is used to compute the difference between them
|
SUCCESS |
001ms |
|
Then the returned relative delta should be months=1
|
SUCCESS |
007ms |
|
|
|
SUCCESS |
026ms |
|
Given the first date 2021-01-30 and the second date 2021-02-28
|
SUCCESS |
006ms |
|
When the datedif function is used to compute the difference between them
|
SUCCESS |
|
|
Then the returned relative delta should be months=1
|
SUCCESS |
011ms |
|
|
|
SUCCESS |
029ms |
|
Given the first date 2021-01-29 and the second date 2021-02-28
|
SUCCESS |
005ms |
|
When the datedif function is used to compute the difference between them
|
SUCCESS |
001ms |
|
Then the returned relative delta should be months=1
|
SUCCESS |
012ms |
|
|
|
SUCCESS |
023ms |
|
Given the first date 2021-01-28 and the second date 2021-02-28
|
SUCCESS |
005ms |
|
When the datedif function is used to compute the difference between them
|
SUCCESS |
001ms |
|
Then the returned relative delta should be months=1
|
SUCCESS |
009ms |
|
|
|
SUCCESS |
027ms |
|
Given the first date 2021-01-27 and the second date 2021-02-28
|
SUCCESS |
005ms |
|
When the datedif function is used to compute the difference between them
|
SUCCESS |
002ms |
|
Then the returned relative delta should be months=1, days=1
|
SUCCESS |
012ms |
|
|
|
SUCCESS |
031ms |
|
Given the first date 2021-01-26 and the second date 2021-02-28
|
SUCCESS |
010ms |
|
When the datedif function is used to compute the difference between them
|
SUCCESS |
002ms |
|
Then the returned relative delta should be months=1, days=2
|
SUCCESS |
010ms |
|
|
|
SUCCESS |
036ms |
|
Given the first date 2021-01-31 and the second date 2020-12-31
|
SUCCESS |
013ms |
|
When the datedif function is used to compute the difference between them
|
SUCCESS |
003ms |
|
Then the returned relative delta should be months=-1
|
SUCCESS |
014ms |
|
|
|
SUCCESS |
023ms |
|
Given the first date 2021-01-31 and the second date 2021-03-31
|
SUCCESS |
006ms |
|
When the datedif function is used to compute the difference between them
|
SUCCESS |
|
|
Then the returned relative delta should be months=2
|
SUCCESS |
010ms |
|
|
|
SUCCESS |
031ms |
|
Given the first date 2021-01-31 and the second date 2021-04-30
|
SUCCESS |
007ms |
|
When the datedif function is used to compute the difference between them
|
SUCCESS |
001ms |
|
Then the returned relative delta should be months=3
|
SUCCESS |
016ms |
|
|
|
SUCCESS |
028ms |
|
Given the first date 2021-01-31 and the second date 2021-03-07
|
SUCCESS |
008ms |
|
When the datedif function is used to compute the difference between them
|
SUCCESS |
001ms |
|
Then the returned relative delta should be months=1, days=7
|
SUCCESS |
011ms |
|
|
|
SUCCESS |
027ms |
|
Given the first date 2021-01-31 and the second date 2021-12-31
|
SUCCESS |
007ms |
|
When the datedif function is used to compute the difference between them
|
SUCCESS |
001ms |
|
Then the returned relative delta should be months=11
|
SUCCESS |
012ms |
|
|
|
SUCCESS |
024ms |
|
Given the first date 2021-01-31 and the second date 2022-02-28
|
SUCCESS |
006ms |
|
When the datedif function is used to compute the difference between them
|
SUCCESS |
002ms |
|
Then the returned relative delta should be years=1, months=1
|
SUCCESS |
011ms |
|
|
|
SUCCESS |
029ms |
|
Given the first date 2021-01-31 and the second date 2024-02-29
|
SUCCESS |
010ms |
|
When the datedif function is used to compute the difference between them
|
SUCCESS |
|
|
Then the returned relative delta should be years=3, months=1
|
SUCCESS |
010ms |
|
|
|
SUCCESS |
030ms |
|
Given the first date 2021-01-31 and the second date 2021-02-10
|
SUCCESS |
008ms |
|
When the datedif function is used to compute the difference between them
|
SUCCESS |
|
|
Then the returned relative delta should be days=10
|
SUCCESS |
013ms |
|
|
SUCCESS |
0.47s |