Ejemplo n.º 1
0
def size_at_least(number: int) -> Condition[Collection]:
    warnings.warn(
        'might be deprecated; use have.size_greater_than_or_equal instead',
        PendingDeprecationWarning,
    )
    return match.collection_has_size_greater_than_or_equal(number)
Ejemplo n.º 2
0
def size_greater_than_or_equal(number: int) -> Condition[Collection]:
    return match.collection_has_size_greater_than_or_equal(number)
Ejemplo n.º 3
0
def size_greater_than_or_equal(number: int) -> _match.CollectionCondition:
    return _match.collection_has_size_greater_than_or_equal(number).not_