Пример #1
0
def test_bulk_lookup_with_iterator(fst: TransducerFile) -> None:
    assert (fst.bulk_lookup(w for w in EXPECTED_BULK_LOOKUP_RESULT_1.keys()) ==
            EXPECTED_BULK_LOOKUP_RESULT_1)
Пример #2
0
def test_bulk_lookup(fst: TransducerFile) -> None:
    assert (fst.bulk_lookup(
        EXPECTED_BULK_LOOKUP_RESULT_1.keys()) == EXPECTED_BULK_LOOKUP_RESULT_1)