()
| 9 | |
| 10 | |
| 11 | def test_grammar_from_string(): |
| 12 | grammar = llama_cpp.LlamaGrammar.from_string(tree) |
| 13 | # assert grammar._n_rules == 3 |
| 14 | # assert grammar._start_rule_index == 2 |
| 15 | # assert grammar.grammar is not None |
| 16 | |
| 17 | |
| 18 | def test_composed_pydantic_grammar(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…