mirror of
https://github.com/KarolS/millfork.git
synced 2024-09-01 16:29:04 +00:00
16 lines
331 B
Plaintext
16 lines
331 B
Plaintext
import framework
|
|
import encconv
|
|
import scrstring
|
|
import string
|
|
|
|
void test_encconv() {
|
|
array buffer[256]
|
|
start_suite("encconv"z)
|
|
|
|
strzcopy(buffer, "test"z)
|
|
strz_to_screencode(buffer)
|
|
assert_equal(0, scrstrzcmp("test"scrz, buffer))
|
|
strz_from_screencode(buffer)
|
|
assert_equal(0, strzcmp("test"z, buffer))
|
|
}
|