travis-ci
12232 of 12653 relevant lines covered (96.67%)
2.52 hits per line
1 |
# -*- coding: utf-8 -*-
|
|
2 |
|
|
3 |
|
|
4 |
def 尾字辭典揣詞(辭典揣詞類): |
2 only TOX_ENV=單元試驗 and TOX_ENV=單元試驗 ✔ |
5 |
|
|
6 |
class 尾字辭典揣詞型態(辭典揣詞類): |
2 only TOX_ENV=單元試驗 and TOX_ENV=單元試驗 ✔ |
7 |
|
|
8 |
@classmethod
|
2 only TOX_ENV=單元試驗 and TOX_ENV=單元試驗 ✔ |
9 |
def _字陣列揣詞(cls, 辭典, 字陣列): |
|
10 |
辭典.查詞 = 辭典.揣詞查詞 |
2 only TOX_ENV=單元試驗 and TOX_ENV=單元試驗 ✔ |
11 |
詞組合陣列, 分數, 詞數 = \ |
2 only TOX_ENV=單元試驗 and TOX_ENV=單元試驗 ✔ |
12 |
super(尾字辭典揣詞型態, cls)._字陣列揣詞(辭典, 字陣列[::-1]) |
|
13 |
辭典.查詞 = 辭典.尾字查詞 |
2 only TOX_ENV=單元試驗 and TOX_ENV=單元試驗 ✔ |
14 |
return 詞組合陣列[::-1], 分數, 詞數 |
2 only TOX_ENV=單元試驗 and TOX_ENV=單元試驗 ✔ |
15 |
|
|
16 |
return 尾字辭典揣詞型態
|
2 only TOX_ENV=單元試驗 and TOX_ENV=單元試驗 ✔ |