mirror of
https://github.com/KarolS/millfork.git
synced 2024-12-28 11:31:58 +00:00
16 lines
342 B
Plaintext
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))
|
|
}
|