(self)
| 1387 | assert isinstance(c._ast, StrConcatNode) |
| 1388 | |
| 1389 | def test_length(self): |
| 1390 | s = String("s") |
| 1391 | length = Length(s) |
| 1392 | assert is_int(length) |
| 1393 | assert isinstance(length._ast, StrLenNode) |
| 1394 | |
| 1395 | def test_contains(self): |
| 1396 | s = String("s") |