We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f116165 commit 35ea382Copy full SHA for 35ea382
python/tests/test_high_level.py
@@ -229,6 +229,9 @@ def test_from_string(self):
229
def test_to_string(self):
230
EGraph().check(PyObject("foo").to_string() == String("foo"))
231
232
+ def test_to_int(self):
233
+ EGraph().check(PyObject(42).to_int() == i64(42))
234
+
235
def test_dict_update(self):
236
original_d = {"foo": "bar"}
237
res = EGraph().extract(PyObject(original_d).dict_update("foo", "baz")).value
0 commit comments