aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRichard Walters <rwalters@digitalstirling.com>2018-10-24 13:38:38 -0700
committerRichard Walters <rwalters@digitalstirling.com>2018-10-24 13:38:38 -0700
commitaf0ecec183116e5feb4f8c9b4e963d05128479fa (patch)
tree0ade55a779996b0d3e635fa83f97eaa323069e99 /test
parent87b4f72ae7825453bb1cf93cfdf3e3169a92ef07 (diff)
PercentEncodedCharacterDecoder: add some extra test cases
Diffstat (limited to 'test')
-rw-r--r--test/src/PercentEncodedCharacterDecoderTests.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/src/PercentEncodedCharacterDecoderTests.cpp b/test/src/PercentEncodedCharacterDecoderTests.cpp
index fbc3d5e..fcc4286 100644
--- a/test/src/PercentEncodedCharacterDecoderTests.cpp
+++ b/test/src/PercentEncodedCharacterDecoderTests.cpp
@@ -21,6 +21,8 @@ TEST(PercentEncodedCharacterDecoderTests, GoodSequences) {
{{'4', '1'}, 'A'},
{{'5', 'A'}, 'Z'},
{{'6', 'e'}, 'n'},
+ {{'e', '1'}, (char)0xe1},
+ {{'C', 'A'}, (char)0xca},
};
size_t index = 0;
for (auto testVector: testVectors) {