Introduced ParserInput
This commit is contained in:
+4
-4
@@ -24,10 +24,10 @@ class BaseTest:
|
||||
def get_default_concept(self):
|
||||
concept = Concept(
|
||||
name="a + b",
|
||||
where="isinstance(a, int) and isinstance(b, int)",
|
||||
pre="isinstance(a, int) and isinstance(b, int)",
|
||||
post="isinstance(res, int)",
|
||||
body="def func(x,y):\n return x+y\nfunc(a,b)",
|
||||
where="isinstance(a, int) and isinstance(b, int)\n",
|
||||
pre="isinstance(a, int) and isinstance(b, int)\n",
|
||||
post="isinstance(res, int)\n",
|
||||
body="def func(x,y):\n return x+y\nfunc(a,b)\n",
|
||||
desc="specific description")
|
||||
concept.def_var("a", "value1")
|
||||
concept.def_var("b", "value2")
|
||||
|
||||
Reference in New Issue
Block a user