kyu_8.is_your_period_late package

Submodules

kyu_8.is_your_period_late.is_your_period_late module

Solution for -> Is your period late.

Created by Egor Kostan. GitHub: https://github.com/ikostan

kyu_8.is_your_period_late.is_your_period_late.period_is_late(last: date, today: date, cycle_length: int) bool[source]

Test whether a period is late.

Parameters:
  • last – The Date object with the date of the last period

  • today – The Date object with the date of the check

  • cycle_length – Integer representing the length of the cycle in days

Returns:

bool

kyu_8.is_your_period_late.test_is_your_period_late module

Test for -> Is your period late.

Created by Egor Kostan. GitHub: https://github.com/ikostan

class kyu_8.is_your_period_late.test_is_your_period_late.PeriodIsLateTestCase(methodName='runTest')[source]

Bases: TestCase

Testing period_is_late function.

_classSetupFailed = False
_class_cleanups = []
test_period_is_late_negative()[source]

Negative tests.

Returns:

test_period_is_late_positive()[source]

Positive tests.

Returns:

Module contents

Is your period late.