Go to the source code of this file.
◆ CHECK_EQUAL
#define CHECK_EQUAL |
( |
|
a, |
|
|
|
b |
|
) |
| |
Value: { \
unsigned char hash1[32]; \
unsigned char hash2[32]; \
secp256k1_multiset_finalize(
ctx, hash1, (a)); \
secp256k1_multiset_finalize(
ctx, hash2, (b)); \
CHECK(memcmp(hash1,hash2,sizeof(hash1))==0); \
}
Definition at line 20 of file tests_impl.h.
◆ CHECK_NOTEQUAL
#define CHECK_NOTEQUAL |
( |
|
a, |
|
|
|
b |
|
) |
| |
Value: { \
unsigned char hash1[32]; \
unsigned char hash2[32]; \
secp256k1_multiset_finalize(
ctx, hash1, (a)); \
secp256k1_multiset_finalize(
ctx, hash2, (b)); \
CHECK(memcmp(hash1,hash2,sizeof(hash1))!=0); \
}
Definition at line 28 of file tests_impl.h.
◆ DATACOUNT
◆ DATALEN
◆ initdata()
static void initdata |
( |
void |
| ) |
|
|
static |
◆ run_multiset_tests()
void run_multiset_tests |
( |
void |
| ) |
|
◆ test_combine()
void test_combine |
( |
void |
| ) |
|
◆ test_duplicate()
void test_duplicate |
( |
void |
| ) |
|
◆ test_empty()
◆ test_remove()
void test_remove |
( |
void |
| ) |
|
◆ test_testvector()
void test_testvector |
( |
void |
| ) |
|
◆ test_unordered()
void test_unordered |
( |
void |
| ) |
|
◆ elements