1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-12-27 19:30:04 +00:00
millfork/examples/tests/test_encconv.mfk
2020-07-31 16:07:49 +02:00

16 lines
342 B
Plaintext

import framework
import encconv
import scrstring
import string
void test_encconv() {
array buffer[16]
start_suite("encconv"z)
strzcopy(buffer, "test 132"z)
strz_to_screencode(buffer)
assert_equal(0, scrstrzcmp("test 132"scrz, buffer))
strz_from_screencode(buffer)
assert_equal(0, strzcmp("test 132"z, buffer))
}