|
|
afc199e739
|
tests/CMakeLists.txt: use doctest_discover_tests() macro to add all doctest test cases with a separate CTest test.
|
2023-05-31 15:05:35 +02:00 |
|
|
|
12e779c8cf
|
Adding tests/cmake/doctestAddTests.cmake
|
2023-05-31 15:03:19 +02:00 |
|
|
|
9ad2e3cc00
|
Adding tests/cmake/doctest.cmake
|
2023-05-31 15:03:07 +02:00 |
|
|
|
e15a5ede18
|
tests/hash: fix bug in MSVC compiler.
|
2023-05-31 14:42:20 +02:00 |
|
|
|
84645175c1
|
tests: Adding tests for sha256 and ripemd160 hashing functions.
|
2023-05-31 10:46:14 +02:00 |
|
|
|
93f6b1b030
|
Adding tests/include/testing.h
|
2023-05-31 10:45:25 +02:00 |
|
|
|
62b677d0e0
|
tests/base58/is_base58.cpp: fix integer size comparison warning.
|
2023-04-10 17:29:12 +02:00 |
|
|
|
6824a2f49e
|
Change namespace and header guards from libeosio to libantelope
|
2023-04-06 14:45:30 +02:00 |
|
|
|
abecabba99
|
include/libeosio/hash.hpp: remove nested struct from ripemd160_t and sha256_t and just use a array directly.
|
2023-03-26 19:28:01 +02:00 |
|
|
|
1aa6906ba2
|
WIF: Support PVT_K1 format.
|
2023-03-25 18:23:27 +01:00 |
|
|
|
ebb4219024
|
WIF: Support PUB_K1 format.
|
2023-03-23 19:15:25 +01:00 |
|
|
|
f8630de098
|
tests/WIF/pub_decode.cpp: fix test name.
|
2023-03-23 18:26:55 +01:00 |
|
|
|
59e8ce473e
|
tests/ec/ecdsa_recover.cpp: MSVC does not like "key: value" in initializer lists. so skip those.
|
2023-03-22 15:11:55 +01:00 |
|
|
|
fe873c1df8
|
tests/ec/ecdsa_sign.cpp: need to use ecdsa_verify() to check signatures.
different implementations produce different signatures so we can't use hardcoded values.
|
2023-03-22 13:46:28 +01:00 |
|
|
|
95740d47b3
|
tests/ec/ecdsa_verify.cpp: Adding more tests
|
2023-03-22 13:42:53 +01:00 |
|
|
|
15eaa97cec
|
tests/ec: fix test names.
|
2023-03-21 15:34:26 +01:00 |
|
|
|
7ef801c2a8
|
include/libeosio/ec.hpp: Adding ecdsa_recover()
|
2023-03-21 13:28:37 +01:00 |
|
|
|
640f67a934
|
include/libeosio/ec.hpp: Adding ecdsa_sign and ecdsa_verify()
|
2023-03-21 13:28:30 +01:00 |
|
|
|
73819444e5
|
include/libeosio/WIF.hpp: adding signature encode/decode functions.
|
2023-03-20 13:48:35 +01:00 |
|
|
|
6eaf6ebe71
|
Adding tests/ec/generate.cpp
|
2023-03-20 13:47:04 +01:00 |
|
|
|
171876bbfa
|
include/libeosio/ec.hpp: adding ec_generate_privkey() and ec_get_publickey()
|
2023-03-19 21:51:18 +01:00 |
|
|
|
5f2fa977c3
|
Adding tests/benchmark/ec.cpp
|
2023-03-14 21:11:14 +01:00 |
|
|
|
c990bae52e
|
include/libeosio/WIF.hpp: Adding wif_pub_decode function
|
2023-03-10 13:48:26 +01:00 |
|
|
|
65f93f061c
|
tests/WIF: move structs local to test functions.
|
2023-03-10 13:27:10 +01:00 |
|
|
|
12a3be919a
|
tests/base58/is_base58.cpp: add subcase and fix test structs.
|
2023-03-10 13:26:19 +01:00 |
|
|
|
e712d4ec4d
|
tests/base58/decode.cpp: fix structs and move them local to test case function.
|
2023-03-10 13:21:54 +01:00 |
|
|
|
000f45e1f4
|
tests/base58/encode.cpp: add subcase and fix test structs.
|
2023-03-10 13:20:05 +01:00 |
|
|
|
3336f8d051
|
Adding tests/WIF/pub_encode.cpp
|
2023-03-10 13:10:07 +01:00 |
|
|
|
4015399d47
|
include/libeosio/WIF.hpp: Adding wif_priv_decode function.
|
2023-03-10 11:13:32 +01:00 |
|
|
|
a99a23ae9b
|
include/libeosio/base58.hpp: Change decode function to accept vector instead of string.
|
2023-03-10 10:38:52 +01:00 |
|
|
|
ed59959b5b
|
include/libeosio/base58.hpp: adding base58_decode functions.
|
2023-03-09 18:18:10 +01:00 |
|
|
|
a43b913277
|
tests: change from std::array to std::vector
|
2023-03-09 18:16:52 +01:00 |
|
|
|
cc962e7bf8
|
Adding tests/WIF/priv_encode.cpp
|
2023-03-09 18:16:52 +01:00 |
|
|
|
dbbdc896e1
|
tests: Adding doctest framework.
|
2023-03-09 17:50:22 +01:00 |
|
|
|
35c2c2fe79
|
tests/base58/CMakeLists.txt: Use test function to define the tests.
|
2023-03-09 13:39:14 +01:00 |
|
|
|
47689bc621
|
tests/CMakeLists.txt: Define test function.
|
2023-03-09 13:38:51 +01:00 |
|
|
|
8ec58c385f
|
tests: move base58 tests into its own subdirectory
|
2023-03-09 13:31:21 +01:00 |
|
|
|
ae4dd4027f
|
Add support for testing and add simple testcase for base58
|
2023-02-17 11:24:01 +01:00 |
|