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 <vector>
|
||||
#include <doctest.h>
|
||||
|
||||
|
|
@ -8,7 +8,7 @@ TEST_CASE("WIF::wif_sig_decode") {
|
|||
struct testcase {
|
||||
const char *name;
|
||||
std::string input;
|
||||
libeosio::ec_signature_t expected;
|
||||
libantelope::ec_signature_t expected;
|
||||
bool expectedRet;
|
||||
};
|
||||
|
||||
|
|
@ -87,9 +87,9 @@ TEST_CASE("WIF::wif_sig_decode") {
|
|||
|
||||
for(auto it = tests.begin(); it != tests.end(); it++) {
|
||||
SUBCASE(it->name) {
|
||||
libeosio::ec_signature_t result;
|
||||
libantelope::ec_signature_t result;
|
||||
|
||||
CHECK( libeosio::wif_sig_decode(result, it->input) == it->expectedRet );
|
||||
CHECK( libantelope::wif_sig_decode(result, it->input) == it->expectedRet );
|
||||
|
||||
if (it->expectedRet == true) {
|
||||
CHECK( result == it->expected );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue