ganeti
Safe HaskellNone

Test.Ganeti.Objects.BitArray

Description

Unittests for bit arrays

Synopsis

Arbitrary instances

prop_BitArray_foldr :: [Bool] -> Property Source #

prop_BitArray_and :: [Bool] -> [Bool] -> Property Source #

prop_BitArray_or :: [Bool] -> [Bool] -> Property Source #

prop_BitArray_counts :: Property Source #

Check that the counts of 1 bits holds.

prop_BitArray_countsSum :: BitArray -> Property Source #

Check that the counts of free and occupied bits add up.

Orphan instances

Arbitrary BitArray # 
Instance details