1
0
mirror of https://github.com/KarolS/millfork.git synced 2026-04-23 06:25:41 +00:00

Improve the test suite

This commit is contained in:
Karol Stasiak
2020-04-06 13:27:39 +02:00
parent 5b3e812bb1
commit 49c916fea1
7 changed files with 103 additions and 13 deletions
+4 -2
View File
@@ -19,5 +19,7 @@ void test_string() {
assert_equal(0, strzcmp("testhello"z, buffer))
assert_equal(1234, strz2word("1234"z))
}
strzcopy(buffer, "test****test"z)
strzpaste(buffer+4, "test"z)
assert_equal(0, strzcmp("testtesttest"z, buffer))
}