File size: 389 Bytes
e50699c
 
 
 
 
 
 
f6e4487
e50699c
7fd4e54
 
e50699c
7fd4e54
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
"""Test text2lists."""
from pathlib import Path
from radiobee.loadtext import loadtext
from radiobee.text2lists import text2lists


def test_text2lists_bug2():
    r"""Test text2lists data\问题2测试文件.txt."""
    filename = r"data\问题2测试文件.txt"
    textbug2 = loadtext(filename)  # noqa
    l1, l2 = text2lists(textbug2)

    assert len(l1) == 5
    assert len(l2) == 4