# Path: gitmostwanted/app.py

# 
# Path: gitmostwanted/tasks/repo_metadata.py
# def is_worth_decreased(curr, prev):
#     if curr < 3:
#         return True
#     return curr < prev and ((prev - curr) * 100 / prev) >= 10


from gitmostwanted.app import db
from gitmostwanted.tasks.repo_metadata import is_worth_decreased
from unittest import TestCase


class TasksRepoMetadataTestCase(TestCase):
    @classmethod
    def setUpClass(cls):

# Path: gitmostwanted/app.py

# 
# Path: gitmostwanted/tasks/repo_metadata.py
# def is_worth_decreased(curr, prev):
#     if curr < 3:
#         return True
#     return curr < prev and ((prev - curr) * 100 / prev) >= 10


# Path: tests/unit/tasks/test_repo_metadata.py
from gitmostwanted.app import db
from gitmostwanted.tasks.repo_metadata import is_worth_decreased
from unittest import TestCase



class TasksRepoMetadataTestCase(TestCase):
    @classmethod
    def setUpClass(cls):

        db.create_all()