testutils

package
v2.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package testutils 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