hex alphabet
This commit is contained in:
parent
bfa85a09c3
commit
46f0eeb4b4
@ -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) <<
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user