mirror of
https://github.com/eosswedenorg/libantelope
synced 2026-06-16 03:34:56 +02:00
tests: change from std::array to std::vector
This commit is contained in:
parent
cc962e7bf8
commit
a43b913277
2 changed files with 4 additions and 4 deletions
|
|
@ -1,10 +1,10 @@
|
|||
#include <libeosio/base58.hpp>
|
||||
#include <iostream>
|
||||
#include <array>
|
||||
#include <vector>
|
||||
#include <doctest.h>
|
||||
|
||||
typedef std::pair<std::string, std::string> testpair_t;
|
||||
typedef std::array<testpair_t, 3> tests;
|
||||
typedef std::vector<testpair_t> tests;
|
||||
|
||||
TEST_CASE("base58::base58_encode") {
|
||||
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
#include <libeosio/base58.hpp>
|
||||
#include <iostream>
|
||||
#include <array>
|
||||
#include <vector>
|
||||
#include <doctest.h>
|
||||
|
||||
typedef std::pair<std::string, size_t> testpair_t;
|
||||
typedef std::array<testpair_t, 6> tests;
|
||||
typedef std::vector<testpair_t> tests;
|
||||
|
||||
TEST_CASE("base58::is_base58 [string]") {
|
||||
tests input = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue