Changeset View
Changeset View
Standalone View
Standalone View
src/secp256k1/src/modules/multiset/tests_impl.h
/*********************************************************************** | /*********************************************************************** | ||||
* Copyright (c) 2017 Tomas van der Wansem * | * Copyright (c) 2017 Tomas van der Wansem * | ||||
* Distributed under the MIT software license, see the accompanying * | * Distributed under the MIT software license, see the accompanying * | ||||
* file COPYING or https://www.opensource.org/licenses/mit-license.php.* | * file COPYING or https://www.opensource.org/licenses/mit-license.php.* | ||||
***********************************************************************/ | ***********************************************************************/ | ||||
#ifndef _SECP256K1_MODULE_MULTISET_TESTS_ | #ifndef SECP256K1_MODULE_MULTISET_TESTS_H | ||||
#define _SECP256K1_MODULE_MULTISET_TESTS_ | #define SECP256K1_MODULE_MULTISET_TESTS_H | ||||
#include "include/secp256k1.h" | #include "include/secp256k1.h" | ||||
#include "include/secp256k1_multiset.h" | #include "include/secp256k1_multiset.h" | ||||
#include "util.h" | #include "util.h" | ||||
#include "testrand.h" | #include "testrand.h" | ||||
#define DATALEN 64*3 | #define DATALEN 64*3 | ||||
▲ Show 20 Lines • Show All 322 Lines • ▼ Show 20 Lines | void run_multiset_tests(void) { | ||||
test_unordered(); | test_unordered(); | ||||
test_combine(); | test_combine(); | ||||
test_remove(); | test_remove(); | ||||
test_empty(); | test_empty(); | ||||
test_duplicate(); | test_duplicate(); | ||||
test_testvector(); | test_testvector(); | ||||
} | } | ||||
#endif /* _SECP256K1_MODULE_MULTISET_TESTS_ */ | #endif /* SECP256K1_MODULE_MULTISET_TESTS_H */ |