We can now use concept sets in BNF definitions
This commit is contained in:
@@ -90,7 +90,7 @@ def test_i_can_recognize_a_concept_with_variables():
|
||||
def test_i_can_recognize_a_concept_with_duplicate_variables():
|
||||
context = get_context()
|
||||
concept = get_concept("a + b + a", ["a", "b"])
|
||||
context.sheerka.concepts_cache[concept.key] = concept
|
||||
context.sheerka.cache_by_key[concept.key] = concept
|
||||
source = "10 + 5 + 10"
|
||||
results = ExactConceptParser().parse(context, source)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user