testing

package
v1.0.0-alpha.18 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2020 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BitlistWithAllBitsSet

func BitlistWithAllBitsSet(t testing.TB, length uint64) bitfield.Bitlist

BitlistWithAllBitsSet creates list of bitlists with all bits set.

func BitlistsWithMultipleBitSet

func BitlistsWithMultipleBitSet(t testing.TB, n, length, count uint64) []bitfield.Bitlist

BitlistsWithMultipleBitSet creates list of bitlists with random n bits set.

func BitlistsWithSingleBitSet

func BitlistsWithSingleBitSet(t testing.TB, n, length uint64) []bitfield.Bitlist

BitlistsWithSingleBitSet creates list of bitlists with a single bit set in each.

func MakeAttestationsFromBitlists

func MakeAttestationsFromBitlists(t testing.TB, bl []bitfield.Bitlist) []*ethpb.Attestation

MakeAttestationsFromBitlists creates list of bitlists from list of attestations.

Types

This section is empty.

Jump to

Keyboard shortcuts

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