kyu_8.is_your_period_late package

Submodules

kyu_8.is_your_period_late.is_your_period_late module

kyu_8.is_your_period_late.is_your_period_late.period_is_late(last: datetime.date, today: datetime.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

kyu_8.is_your_period_late.test_is_your_period_late module

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

Bases: unittest.case.TestCase

Testing period_is_late function

test_period_is_late_negative()[source]

Negative tests :return:

test_period_is_late_positive()[source]

Positive tests :return:

Module contents