testutil

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package testutil contains utils for the tests

Index

Constants

This section is empty.

Variables

View Source
var (
	TestCfg = bloomfilter.Config{
		N:        100,
		P:        0.001,
		HashName: bloomfilter.HASHER_OPTIMAL,
	}

	TestCfg2 = bloomfilter.Config{
		N:        100,
		P:        0.00001,
		HashName: bloomfilter.HASHER_OPTIMAL,
	}

	TestCfg3 = bloomfilter.Config{
		N:        100,
		P:        0.001,
		HashName: bloomfilter.HASHER_DEFAULT,
	}
)

Functions

func CallSet

func CallSet(t *testing.T, set bloomfilter.BloomFilter)

func CallSetUnion

func CallSetUnion(t *testing.T, set1, set2 bloomfilter.BloomFilter)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL