Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
quotient_filter_removal_test.cc File Reference

A quotient filter keeps every item that it holds through the removals of the others, in each of the states that it may be in. More...

#include <gtest/gtest.h>
#include <random>
#include <utility>
#include <compact-quotient-filter.H>
#include <quotient-filter.H>
#include <tpl_array.H>
Include dependency graph for quotient_filter_removal_test.cc:

Go to the source code of this file.

Functions

 TYPED_TEST (QuotientFilterRemoval, ARemovalKeepsEveryOtherItem)
 
 TYPED_TEST (QuotientFilterRemoval, RandomRemovalsAgreeWithTheExactSet)
 
 TYPED_TEST (QuotientFilterRemoval, EverySlotServesInEachStateOfAFilter)
 

Detailed Description

A quotient filter keeps every item that it holds through the removals of the others, in each of the states that it may be in.

Definition in file quotient_filter_removal_test.cc.

Function Documentation

◆ TYPED_TEST() [1/3]

TYPED_TEST ( QuotientFilterRemoval  ,
ARemovalKeepsEveryOtherItem   
)

Definition at line 123 of file quotient_filter_removal_test.cc.

References Aleph::fill(), and Aleph::Array< T >::size().

◆ TYPED_TEST() [2/3]

TYPED_TEST ( QuotientFilterRemoval  ,
EverySlotServesInEachStateOfAFilter   
)

Definition at line 191 of file quotient_filter_removal_test.cc.

References r.

◆ TYPED_TEST() [3/3]

TYPED_TEST ( QuotientFilterRemoval  ,
RandomRemovalsAgreeWithTheExactSet   
)