mirror of
https://github.com/eosswedenorg/libantelope
synced 2026-06-17 12:00:02 +02:00
Change namespace and header guards from libeosio to libantelope
This commit is contained in:
parent
0cfd459c71
commit
6824a2f49e
32 changed files with 176 additions and 176 deletions
|
|
@ -1,5 +1,5 @@
|
|||
#include <libeosio/WIF.hpp>
|
||||
#include <libeosio/ec.hpp>
|
||||
#include <libantelope/WIF.hpp>
|
||||
#include <libantelope/ec.hpp>
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
#include <doctest.h>
|
||||
|
|
@ -8,7 +8,7 @@ TEST_CASE("WIF::wif_priv_decode [legacy]") {
|
|||
struct testcase {
|
||||
std::string name;
|
||||
std::string key;
|
||||
libeosio::ec_privkey_t expected;
|
||||
libantelope::ec_privkey_t expected;
|
||||
};
|
||||
|
||||
|
||||
|
|
@ -22,9 +22,9 @@ TEST_CASE("WIF::wif_priv_decode [legacy]") {
|
|||
|
||||
SUBCASE(it->name.c_str()) {
|
||||
|
||||
libeosio::ec_privkey_t result;
|
||||
libantelope::ec_privkey_t result;
|
||||
|
||||
CHECK( libeosio::wif_priv_decode(result, it->key) );
|
||||
CHECK( libantelope::wif_priv_decode(result, it->key) );
|
||||
CHECK( result == it->expected );
|
||||
}
|
||||
}
|
||||
|
|
@ -35,7 +35,7 @@ TEST_CASE("WIF::wif_priv_decode [K1]") {
|
|||
struct testcase {
|
||||
std::string name;
|
||||
std::string key;
|
||||
libeosio::ec_privkey_t expected;
|
||||
libantelope::ec_privkey_t expected;
|
||||
};
|
||||
|
||||
|
||||
|
|
@ -49,9 +49,9 @@ TEST_CASE("WIF::wif_priv_decode [K1]") {
|
|||
|
||||
SUBCASE(it->name.c_str()) {
|
||||
|
||||
libeosio::ec_privkey_t result;
|
||||
libantelope::ec_privkey_t result;
|
||||
|
||||
CHECK( libeosio::wif_priv_decode(result, it->key) );
|
||||
CHECK( libantelope::wif_priv_decode(result, it->key) );
|
||||
CHECK( result == it->expected );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue