ver0.1
This commit is contained in:
@@ -34,8 +34,9 @@ def test_parse_voice_choice_negative() -> None:
|
||||
|
||||
def test_build_prompt_contains_options() -> None:
|
||||
text = build_prompt_text([("纱布", 0.4), ("缝线", 0.3)])
|
||||
assert "纱布" in text
|
||||
assert "缝线" in text
|
||||
assert text.startswith("请确认以下耗材。")
|
||||
assert "第1个,纱布。" in text
|
||||
assert "第2个,缝线。" in text
|
||||
|
||||
|
||||
def test_match_voice_against_full_candidate_list() -> None:
|
||||
|
||||
Reference in New Issue
Block a user