kyu_8.century_from_year package

Submodules

kyu_8.century_from_year.century module

kyu_8.century_from_year.century.century(year)[source]

Given a year, return the century it is in :param year: :return:

kyu_8.century_from_year.test_century module

class kyu_8.century_from_year.test_century.CenturyTestCase(methodName='runTest')[source]

Bases: unittest.case.TestCase

The first century spans from the year 1 up to and including the year 100, The second - from the year 101 up to and including the year 200, etc.

test_century()[source]

Testing century function

Module contents