diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..42a6e6d Binary files /dev/null and b/.DS_Store differ diff --git a/pp.py b/pp.py new file mode 100644 index 0000000..469272c --- /dev/null +++ b/pp.py @@ -0,0 +1,2 @@ +with open('test_requirements.txt') as fd: + requirements = [line.rstrip() for line in fd] diff --git a/tests/test_catmath.py b/tests/test_catmath.py index ced6358..aef4d6c 100644 --- a/tests/test_catmath.py +++ b/tests/test_catmath.py @@ -2,15 +2,15 @@ def test__cat_years_to_hooman_years__middle_age__succeeds(): - assert True + cat_age = 7 + hooman_age = catmath.cat_years_to_hooman_years(cat_age) + assert hooman_age == 35 def test__cat_years_to_hooman_years__less_than_one_year__succeeds(): - assert True - - -def test__cat_years_to_hooman_years__0__returns_0(): - assert True + cat_age = 0.1 + hooman_age = catmath.cat_years_to_hooman_years(cat_age) + assert hooman_age == 0.5 # BONUS MATERIAL FOR STEP 2