mirror of
https://github.com/zekexiao/pocketlang.git
synced 2025-02-06 20:50:55 +08:00
f5e2f15d23
... string concat with .. operator exponent operator with ** operator
10 lines
259 B
Plaintext
10 lines
259 B
Plaintext
|
|
## TODO: add more test of built in functions.
|
|
|
|
assert(list_join([1, 2, 3]) == "123")
|
|
assert(list_join(["hello", " world"]) == "hello world")
|
|
assert(list_join([[], []]) == "[][]")
|
|
|
|
## If we got here, that means all test were passed.
|
|
print('All TESTS PASSED')
|