Added SheerkaComparisonManager
This commit is contained in:
@@ -855,6 +855,24 @@ as:
|
||||
assert res[0].status
|
||||
assert res[0].body == 64
|
||||
|
||||
def test_concepts_parsed_by_atom_parser_must_not_be_evaluated(self):
|
||||
definitions = [
|
||||
"def concept mult from a mult b as a * b",
|
||||
"def concept a mult b as a * b",
|
||||
]
|
||||
|
||||
sheerka = self.init_scenario(definitions)
|
||||
|
||||
res = sheerka.evaluate_user_input("eval mult")
|
||||
|
||||
assert res[0].status
|
||||
assert isinstance(res[0].body, Concept)
|
||||
|
||||
# res = sheerka.evaluate_user_input("eval a mult b")
|
||||
#
|
||||
# assert res[0].status
|
||||
# assert isinstance(res[0].body, Concept)
|
||||
|
||||
|
||||
class TestSheerkaNonRegFile(TestUsingFileBasedSheerka):
|
||||
def test_i_can_def_several_concepts(self):
|
||||
|
||||
Reference in New Issue
Block a user