hex alphabet

This commit is contained in:
Alex Groce 2019-01-01 12:36:31 -07:00
parent bfa85a09c3
commit 46f0eeb4b4

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, "abcdefghijklmnopqrstuvwxyz0123456789");
char* original = DeepState_CStrUpToLen(MAX_STR_LEN, "abcdef0123456789");
char* encoded = encode(original);
char* roundtrip = decode(encoded);
ASSERT (strncmp(roundtrip, original, MAX_STR_LEN) == 0) <<