mirror of https://github.com/PurpleI2P/i2pd.git
I2P: End-to-End encrypted and anonymous Internet
https://i2pd.website/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
325 B
19 lines
325 B
#include <boost/test/unit_test.hpp> |
|
#include "../util.h" |
|
|
|
BOOST_AUTO_TEST_SUITE(UtilityTests) |
|
|
|
using namespace i2p::util::http; |
|
|
|
BOOST_AUTO_TEST_CASE(DecodeEmptyUrl) |
|
{ |
|
BOOST_CHECK_EQUAL(urlDecode(""), ""); |
|
} |
|
|
|
BOOST_AUTO_TEST_CASE(DecodeUrl) |
|
{ |
|
BOOST_CHECK_EQUAL(urlDecode("%20"), " "); |
|
} |
|
|
|
|
|
BOOST_AUTO_TEST_SUITE_END()
|
|
|