diff --git a/tests/test_find_max_daily_commits.py b/tests/test_find_max_daily_commits.py new file mode 100644 index 000000000..25acb71dc --- /dev/null +++ b/tests/test_find_max_daily_commits.py @@ -0,0 +1,75 @@ +from gitfiti import find_max_daily_commits + + +CONTRIBUTIONS_CALENDAR_SVG = '''\ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Jun + Jul + Aug + Sep + Oct + Nov + Dec + Jan + Feb + Mar + Apr + May + + M + + W + + F + + + +''' + + +def test_find_max_daily_commits(): + assert find_max_daily_commits(CONTRIBUTIONS_CALENDAR_SVG) == 84