skopy/features/string.sk

9 lines
185 B
Plaintext
Raw Normal View History

2024-04-01 19:42:36 +00:00
assert "hello" eq "hello"
assert "hello " + "world" eq "hello world"
assert "a" + "b" + "c" eq "abc"
assert "a" * 3 eq "aaa"
assert 4 * "b" eq "bbbb"
assert ("a" + "b") * 2 eq "abab"