no alphabet at all

This commit is contained in:
Alex Groce 2019-01-01 13:58:59 -07:00
parent 71fbb7ac7d
commit 303159467e

View File

@ -40,7 +40,7 @@ char* decode(const char* output) {
#define MAX_STR_LEN 3
TEST(Runlength, EncodeDecode) {
char* original = DeepState_CStrUpToLen(MAX_STR_LEN, "abc");
char* original = DeepState_CStrUpToLen(MAX_STR_LEN);
char* encoded = encode(original);
char* roundtrip = decode(encoded);
ASSERT (strncmp(roundtrip, original, MAX_STR_LEN) == 0) <<