Conditions | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1 |
Changes | 0 |
1 | 1 | import pytest |
|
42 | 1 | def test_count_step_17(today_as_decimaldate_int) -> None: |
|
43 | # GIVEN |
||
44 | 1 | step = 17 |
|
45 | # WHEN |
||
46 | 1 | it = iter(DecimalDate.count(step=step)) |
|
47 | # THEN |
||
48 | 1 | assert next(it).as_int() == today_as_decimaldate_int |
|
49 | 1 | assert ( |
|
50 | next(it).as_int() == DecimalDate(today_as_decimaldate_int).next(step).as_int() |
||
51 | ) |
||
64 |