Add basic string multiplication tests
@@ -29,6 +29,14 @@ assert repr('\n\t') == "'\\n\\t'"
assert str(["a", "b", "can't"]) == "['a', 'b', \"can't\"]"
+assert "xy" * 3 == "xyxyxy"
+assert "x" * 0 == ""
+assert "x" * -1 == ""
+
+assert 3 * "xy" == "xyxyxy"
+assert 0 * "x" == ""
+assert -1 * "x" == ""
+
a = 'Hallo'
assert a.lower() == 'hallo'
assert a.upper() == 'HALLO'
