![]() |
Fabcoin Core
0.16.2
P2P Digital Currency
|
#include <boost/test/unit_test.hpp>#include <libdevcore/SHA3.h>#include <libwhisper/BloomFilter.h>#include <test/libtesteth/TestHelper.h>Go to the source code of this file.
Typedefs | |
| using | TopicBloomFilterShort = TopicBloomFilterBase< 4 > |
| using | TopicBloomFilterTest = TopicBloomFilterBase< TopicBloomFilterSize > |
Functions | |
| void | testAddNonExisting (TopicBloomFilterShort &_f, AbridgedTopic const &_h) |
| void | testRemoveExisting (TopicBloomFilterShort &_f, AbridgedTopic const &_h) |
| void | testAddNonExistingBloom (TopicBloomFilterShort &_f, AbridgedTopic const &_h) |
| void | testRemoveExistingBloom (TopicBloomFilterShort &_f, AbridgedTopic const &_h) |
| double | calculateExpected (TopicBloomFilterTest const &f, int n) |
| double | testFalsePositiveRate (TopicBloomFilterTest const &f, int inserted, Topic &x) |
| BOOST_AUTO_TEST_CASE (dummyTest) | |
| using TopicBloomFilterShort = TopicBloomFilterBase<4> |
Definition at line 32 of file bloomFilter.cpp.
| using TopicBloomFilterTest = TopicBloomFilterBase<TopicBloomFilterSize> |
Definition at line 33 of file bloomFilter.cpp.
| BOOST_AUTO_TEST_CASE | ( | dummyTest | ) |
Definition at line 113 of file bloomFilter.cpp.
| double calculateExpected | ( | TopicBloomFilterTest const & | f, |
| int | n | ||
| ) |
| void testAddNonExisting | ( | TopicBloomFilterShort & | _f, |
| AbridgedTopic const & | _h | ||
| ) |
| void testAddNonExistingBloom | ( | TopicBloomFilterShort & | _f, |
| AbridgedTopic const & | _h | ||
| ) |
| double testFalsePositiveRate | ( | TopicBloomFilterTest const & | f, |
| int | inserted, | ||
| Topic & | x | ||
| ) |
| void testRemoveExisting | ( | TopicBloomFilterShort & | _f, |
| AbridgedTopic const & | _h | ||
| ) |
| void testRemoveExistingBloom | ( | TopicBloomFilterShort & | _f, |
| AbridgedTopic const & | _h | ||
| ) |
1.8.11