diff options
author | Chris Xiong <chirs241097@gmail.com> | 2022-09-16 18:18:03 -0400 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2022-09-18 01:54:17 -0400 |
commit | 577f49b25c22a267fb3a29af5832f7ab0c2f4769 (patch) | |
tree | 02705d78d3ae5db3b6c6d6f0eda75ef08ce9954c /tests | |
parent | 4401f681d33f534a7d7ef8f4f940bd54b60710c3 (diff) | |
download | deduper-577f49b25c22a267fb3a29af5832f7ab0c2f4769.tar.xz |
Dunno why I used pascal case in the first place...
Diffstat (limited to 'tests')
-rw-r--r-- | tests/base64_test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/base64_test.cpp b/tests/base64_test.cpp index 1ee6b14..7d08853 100644 --- a/tests/base64_test.cpp +++ b/tests/base64_test.cpp @@ -20,15 +20,15 @@ void testb64class() buf[i] = rand() % 128; for (size_t i = 0; i < l2; ++i) bug[i] = rand() % 128; - Base64Encoder enc; + base64_encoder enc; enc.encode_data(buf, l1); enc.encode_data(bug, l2); std::string s = enc.finalize(); std::string ss = enc.finalize(); - Base64Decoder dec(std::move(s)); + base64_decoder dec(std::move(s)); assert(dec.decoded_length() == l1 + l2); - Base64Decoder decc(std::move(s)); + base64_decoder decc(std::move(s)); size_t xx = decc.decode_data(buh, 32768); for (size_t i = 0; i < xx; ++i) printf("%d ", buh[i]); |