def test_valid_input():
    try:
        Relevance.validate_input("Groupon", 0.3)
        assert True
    except Exception:
        assert False
def test_invalid_query():
    try:
        Relevance.validate_input("", 0.1)
        assert False
    except Exception:
        assert True
def test_invalid_precision():
    try:
        Relevance.validate_input("", 1.1)
        assert False
    except Exception:
        assert True