Changeset View
Changeset View
Standalone View
Standalone View
src/test/base64_tests.cpp
// Copyright (c) 2011-2015 The Bitcoin Core developers | // Copyright (c) 2011-2015 The Bitcoin Core developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#include "test/test_bitcoin.h" | #include <utilstrencodings.h> | ||||
#include "utilstrencodings.h" | |||||
#include <test/test_bitcoin.h> | |||||
#include <boost/test/unit_test.hpp> | #include <boost/test/unit_test.hpp> | ||||
BOOST_FIXTURE_TEST_SUITE(base64_tests, BasicTestingSetup) | BOOST_FIXTURE_TEST_SUITE(base64_tests, BasicTestingSetup) | ||||
BOOST_AUTO_TEST_CASE(base64_testvectors) { | BOOST_AUTO_TEST_CASE(base64_testvectors) { | ||||
static const std::string vstrIn[] = {"", "f", "fo", "foo", | static const std::string vstrIn[] = {"", "f", "fo", "foo", | ||||
"foob", "fooba", "foobar"}; | "foob", "fooba", "foobar"}; | ||||
Show All 11 Lines |